OWL
|
#include <UserGeom.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 | |
DeviceMemory | internalBufferForBoundsProgram |
DeviceMemory | internalBufferForBoundsProgramKey1 |
DeviceMemory | internalBufferForBoundsProgramKey2 |
DeviceMemory | tempMem |
bool | useExternalBoundsBuffer = false |
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
DeviceMemory owl::UserGeom::DeviceData::internalBufferForBoundsProgram |
stors the device-side buffer to store the bounding boxes in that the bounds program generates, and that the BVH builder requires. (in theory we can release this memory after BVH is built)
DeviceMemory owl::UserGeom::DeviceData::internalBufferForBoundsProgramKey1 |
Same as above, but for the motion blur case
DeviceMemory owl::UserGeom::DeviceData::tempMem |
Temporary memory for executing motion bounds program