OWL
|
#include <SphereGeom.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) |
Additional Inherited Members | |
Public Attributes inherited from owl::GeomType::DeviceData | |
std::vector< OptixProgramGroup > | hgPGs |
any device-specific data, such as optix handles, cuda device pointers, etc
owl::SphereGeomType::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; this uses the parent class to fill in CH and AH programs, but sets IS program to optix's builtin sphere intersector
Reimplemented from owl::GeomType::DeviceData.