|
OWL
|
#include <UserGeom.h>
Public Types | |
| typedef std::shared_ptr< DeviceData > | SP |
Public Types inherited from owl::GeomType::DeviceData | |
| typedef std::shared_ptr< DeviceData > | SP |
Public Member Functions | |
| DeviceData (const DeviceContext::SP &device) | |
| void | fillPGDesc (OptixProgramGroupDesc &pgDesc, GeomType *gt, int rayType) override |
Public Member Functions inherited from owl::GeomType::DeviceData | |
| DeviceData (const DeviceContext::SP &device) | |
| void | buildHitGroupPrograms (GeomType *gt) |
| virtual void | fillPGDesc (OptixProgramGroupDesc &pgDesc, GeomType *gt, int rayType) |
Public Attributes | |
| CUfunction | boundsFuncKernel = 0 |
| CUfunction | motionBoundsFuncKernel = 0 |
Public Attributes inherited from owl::GeomType::DeviceData | |
| std::vector< OptixProgramGroup > | hgPGs |
any device-specific data, such as optix handles, cuda device pointers, etc
| owl::UserGeomType::DeviceData::DeviceData | ( | const DeviceContext::SP & | device | ) |
construct a new device-data for this type
|
overridevirtual |
fill in an OptixProgramGroup descriptor with the module and program names for this type
Reimplemented from owl::GeomType::DeviceData.
| CUfunction owl::UserGeomType::DeviceData::boundsFuncKernel = 0 |
cuda function handle for the (automatically generatd) kernel that runs the primitive bounds program on the device
| CUfunction owl::UserGeomType::DeviceData::motionBoundsFuncKernel = 0 |
cuda function handle for the (automatically generatd) kernel that runs the primitive motion bounds program on the device