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

#include <LaunchParams.h>

Inheritance diagram for owl::LaunchParamsType:
owl::SBTObjectType owl::RegisteredObject owl::ContextObject owl::Object

Public Types

typedef std::shared_ptr< LaunchParamsTypeSP
 
- Public Types inherited from owl::SBTObjectType
typedef std::shared_ptr< SBTObjectTypeSP
 
- Public Types inherited from owl::ContextObject
typedef std::shared_ptr< ContextObjectSP
 
- Public Types inherited from owl::Object
typedef std::shared_ptr< ObjectSP
 

Public Member Functions

 LaunchParamsType (Context *const context, size_t varStructSize, const std::vector< OWLVarDecl > &varDecls)
 
virtual std::string toString () const
 
- Public Member Functions inherited from owl::SBTObjectType
 SBTObjectType (Context *const context, ObjectRegistry &registry, size_t varStructSize, const std::vector< OWLVarDecl > &varDecls)
 
virtual ~SBTObjectType ()
 
int getVariableIdx (const std::string &varName)
 
bool hasVariable (const std::string &varName)
 
std::string toString () const override
 
void declareVariable (const std::string &varName, OWLDataType type, size_t offset)
 
std::vector< Variable::SP > instantiateVariables ()
 
- Public Member Functions inherited from owl::RegisteredObject
 RegisteredObject (Context *const context, ObjectRegistry &registry)
 
- Public Member Functions inherited from owl::ContextObject
 ContextObject (Context *const context)
 
std::string toString () const override
 
- Public Member Functions inherited from owl::Object
 Object ()
 
virtual std::string toString () const
 
virtual DeviceData::SP createOn (const std::shared_ptr< DeviceContext > &device)
 
void createDeviceData (const std::vector< std::shared_ptr< DeviceContext > > &devices)
 
template<typename T >
std::shared_ptr< T > as ()
 

Additional Inherited Members

- Public Attributes inherited from owl::SBTObjectType
const size_t varStructSize
 
const std::vector< OWLVarDeclvarDecls
 
- Public Attributes inherited from owl::RegisteredObject
int ID
 
ObjectRegistryregistry
 
- Public Attributes inherited from owl::ContextObject
Context *const context
 
- Public Attributes inherited from owl::Object
const size_t uniqueID
 
std::vector< DeviceData::SP > deviceData
 
- Static Public Attributes inherited from owl::Object
static std::atomic< uint64_t > nextAvailableID
 

Detailed Description

describes a given type of launch params - basically the set of variables in the device-side 'global <Struct> optixLaumchParams' variable. This class describes the types and memory layouts of vairables in this 'Struct', the acutal instances of this type then store the variable values to be written into that variable

Constructor & Destructor Documentation

◆ LaunchParamsType()

owl::LaunchParamsType::LaunchParamsType ( Context *const  context,
size_t  varStructSize,
const std::vector< OWLVarDecl > &  varDecls 
)

constructor, with given set of variables

Member Function Documentation

◆ toString()

virtual std::string owl::LaunchParamsType::toString ( ) const
inlinevirtual

pretty-printer, for printf-debugging

Reimplemented from owl::Object.


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