OWL
OptiX7 Wrapper Library
|
#include <Triangles.h>
Public Member Functions | |
DeviceData (const DeviceContext::SP &device) | |
![]() | |
DeviceData (DeviceContext::SP device) | |
virtual | ~DeviceData () |
template<typename T > | |
T & | as () |
Public Attributes | |
std::vector< CUdeviceptr > | vertexPointers |
CUdeviceptr | indexPointer = (CUdeviceptr)0 |
![]() | |
DeviceContext::SP | device |
Additional Inherited Members | |
![]() | |
typedef std::shared_ptr< DeviceData > | SP |
any device-specific data, such as optix handles, cuda device pointers, etc
owl::TrianglesGeom::DeviceData::DeviceData | ( | const DeviceContext::SP & | device | ) |
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