OWL
|
#include <InstanceGroup.h>
Public Types | |
typedef std::shared_ptr< DeviceData > | SP |
Public Types inherited from owl::Group::DeviceData | |
typedef std::shared_ptr< DeviceData > | SP |
Public Member Functions | |
DeviceData (const DeviceContext::SP &device) | |
Public Member Functions inherited from owl::Group::DeviceData | |
DeviceData (const DeviceContext::SP &device) | |
Public Attributes | |
DeviceMemory | optixInstanceBuffer |
DeviceMemory | motionTransformsBuffer |
DeviceMemory | outputBuffer |
CUfunction | instanceFuncKernel = 0 |
CUfunction | motionInstanceFuncKernel = 0 |
Public Attributes inherited from owl::Group::DeviceData | |
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
owl::InstanceGroup::DeviceData::DeviceData | ( | const DeviceContext::SP & | device | ) |
constructor
CUfunction owl::InstanceGroup::DeviceData::instanceFuncKernel = 0 |
cuda function handle for the (automatically generated) kernel that runs the instance generation program on the device
CUfunction owl::InstanceGroup::DeviceData::motionInstanceFuncKernel = 0 |
cuda function handle for the (automatically generated) kernel that runs the motion instance generation program on the device
DeviceMemory owl::InstanceGroup::DeviceData::motionTransformsBuffer |
if we use motion blur, this is used to store all the motoin transforms