OWL
OptiX7 Wrapper Library
owl::UserGeom::DeviceData Struct Reference

#include <UserGeom.h>

Inheritance diagram for owl::UserGeom::DeviceData:
owl::Object::DeviceData

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
 
- Public Attributes inherited from owl::Object::DeviceData
DeviceContext::SP device
 

Additional Inherited Members

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

Detailed Description

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

Constructor & Destructor Documentation

◆ DeviceData()

owl::UserGeom::DeviceData::DeviceData ( const DeviceContext::SP device)
inline

Member Data Documentation

◆ internalBufferForBoundsProgram

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)


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