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

#include <Geometry.h>

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

Public Types

typedef std::shared_ptr< DeviceDataSP
 

Public Member Functions

 DeviceData (const DeviceContext::SP &device)
 
void buildHitGroupPrograms (GeomType *gt)
 
virtual void fillPGDesc (OptixProgramGroupDesc &pgDesc, GeomType *gt, int rayType)
 

Public Attributes

std::vector< OptixProgramGroup > hgPGs
 

Detailed Description

any device-specific data, such as optix handles, cuda device pointers, etc - for geomtypes that's pretty much the OptixProgramGroup's that describe the precompiled programs to use for geometries of this type

Constructor & Destructor Documentation

◆ DeviceData()

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

constructor - passthrough to parent class

construtor - passthrough to parent class

Member Function Documentation

◆ buildHitGroupPrograms()

void owl::GeomType::DeviceData::buildHitGroupPrograms ( GeomType gt)

build the optix program groups for the given (parent) geomtype

◆ fillPGDesc()

void owl::GeomType::DeviceData::fillPGDesc ( OptixProgramGroupDesc &  pgDesc,
GeomType parent,
int  rt 
)
virtual

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

Reimplemented in owl::CurvesGeomType::DeviceData, owl::SphereGeomType::DeviceData, and owl::UserGeomType::DeviceData.

Member Data Documentation

◆ hgPGs

std::vector<OptixProgramGroup> owl::GeomType::DeviceData::hgPGs

hit group program groups, per ray type


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