OWL
|
#include <Group.h>
Public Types | |
typedef std::shared_ptr< DeviceData > | SP |
Public Member Functions | |
DeviceData (const DeviceContext::SP &device) | |
Public Attributes | |
OptixTraversableHandle | traversable = 0 |
DeviceMemory | bvhMemory |
size_t | memFinal = 0 |
memory used for the BVH, last time it was built. | |
size_t | memPeak = 0 |
peak memory uesd during building, last time it was built. | |
any device-specific data, such as optix handles, cuda device pointers, etc; for accel's that's pretty much the BVH memory for this type, and the specific OptixTraversableHandle to traverse it
owl::Group::DeviceData::DeviceData | ( | const DeviceContext::SP & | device | ) |
constructor - pass-through to parent class
DeviceMemory owl::Group::DeviceData::bvhMemory |
device memory that keeps the final, possibly compacted, BVH memory
OptixTraversableHandle owl::Group::DeviceData::traversable = 0 |
the handle for this BVH that can be passed to optixTrace