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

#include <UserGeom.h>

Inheritance diagram for owl::UserGeomType::DeviceData:
owl::GeomType::DeviceData

Public Types

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

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
 

Detailed Description

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

Constructor & Destructor Documentation

◆ DeviceData()

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

construct a new device-data for this type

Member Function Documentation

◆ fillPGDesc()

void owl::UserGeomType::DeviceData::fillPGDesc ( OptixProgramGroupDesc &  pgDesc,
GeomType gt,
int  rayType 
)
overridevirtual

fill in an OptixProgramGroup descriptor with the module and program names for this type

Reimplemented from owl::GeomType::DeviceData.

Member Data Documentation

◆ boundsFuncKernel

CUfunction owl::UserGeomType::DeviceData::boundsFuncKernel = 0

cuda function handle for the (automatically generatd) kernel that runs the primitive bounds program on the device

◆ motionBoundsFuncKernel

CUfunction owl::UserGeomType::DeviceData::motionBoundsFuncKernel = 0

cuda function handle for the (automatically generatd) kernel that runs the primitive motion bounds program on the device


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