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