OWL
|
#include <Triangles.h>
Public Member Functions | |
DeviceData (const DeviceContext::SP &device) | |
Public Member Functions inherited from owl::Object::DeviceData | |
DeviceData (DeviceContext::SP device) | |
virtual | ~DeviceData () |
template<typename T > | |
T & | as () |
Public Attributes | |
std::vector< CUdeviceptr > | vertexPointers |
CUdeviceptr | indexPointer = (CUdeviceptr)0 |
Public Attributes inherited from owl::Object::DeviceData | |
DeviceContext::SP | device |
Additional Inherited Members | |
Public Types inherited from owl::Object::DeviceData | |
typedef std::shared_ptr< DeviceData > | SP |
any device-specific data, such as optix handles, cuda device pointers, etc
CUdeviceptr owl::TrianglesGeom::DeviceData::indexPointer = (CUdeviceptr)0 |
device poiner to array of indices - the memory for the indices will live in some sort of buffer; this only points to that buffer
std::vector<CUdeviceptr> owl::TrianglesGeom::DeviceData::vertexPointers |
this is a vector of vertex arrays, for motion blur purposes. ie, for static meshes only one entry is used, for motion blur two (and eventually, maybe more) will be used