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

#include <CurvesGeom.h>

Inheritance diagram for owl::CurvesGeomType::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)
 

Additional Inherited Members

- 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::CurvesGeomType::DeviceData::DeviceData ( const DeviceContext::SP &  device)

construct a new device-data for this type

Member Function Documentation

◆ fillPGDesc()

void owl::CurvesGeomType::DeviceData::fillPGDesc ( OptixProgramGroupDesc &  pgDesc,
GeomType gt,
int  rayType 
)
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 curves intersector

Reimplemented from owl::GeomType::DeviceData.


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