OWL
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
owl::InstanceGroup::DeviceData Struct Reference

#include <InstanceGroup.h>

Inheritance diagram for owl::InstanceGroup::DeviceData:
owl::Group::DeviceData

Public Types

typedef std::shared_ptr< DeviceDataSP
 
- Public Types inherited from owl::Group::DeviceData
typedef std::shared_ptr< DeviceDataSP
 

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.
 

Detailed Description

any device-specific data, such as optix handles, cuda device pointers, etc

Constructor & Destructor Documentation

◆ DeviceData()

owl::InstanceGroup::DeviceData::DeviceData ( const DeviceContext::SP &  device)

constructor

Member Data Documentation

◆ instanceFuncKernel

CUfunction owl::InstanceGroup::DeviceData::instanceFuncKernel = 0

cuda function handle for the (automatically generated) kernel that runs the instance generation program on the device

◆ motionInstanceFuncKernel

CUfunction owl::InstanceGroup::DeviceData::motionInstanceFuncKernel = 0

cuda function handle for the (automatically generated) kernel that runs the motion instance generation program on the device

◆ motionTransformsBuffer

DeviceMemory owl::InstanceGroup::DeviceData::motionTransformsBuffer

if we use motion blur, this is used to store all the motoin transforms


The documentation for this struct was generated from the following file: