NVIDIA OptiX 6.5 API nvidia_logo_transpbg.gif Up
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
optix::ScopedObj Class Referenceabstract
Inheritance diagram for optix::ScopedObj:
optix::DestroyableObj optix::APIObj optix::ContextObj optix::GeometryInstanceObj optix::GeometryObj optix::MaterialObj optix::ProgramObj

Public Member Functions

virtual Variable declareVariable (const std::string &name)=0
 
virtual Variable queryVariable (const std::string &name) const =0
 
virtual void removeVariable (Variable v)=0
 
virtual unsigned int getVariableCount () const =0
 
virtual Variable getVariable (unsigned int index) const =0
 
- Public Member Functions inherited from optix::DestroyableObj
virtual void destroy ()=0
 
virtual void validate ()=0
 
- Public Member Functions inherited from optix::APIObj
void addReference ()
 
int removeReference ()
 
virtual Context getContext () const =0
 
virtual void checkError (RTresult code) const
 
virtual void checkError (RTresult code, Context context) const
 
void checkErrorNoGetContext (RTresult code) const
 

Additional Inherited Members

- Static Public Member Functions inherited from optix::APIObj
static Exception makeException (RTresult code, RTcontext context)
 

Detailed Description

Base class for all objects which are OptiX variable containers.

Wraps:

  • RTcontext
  • RTgeometry
  • RTgeometryinstance
  • RTmaterial
  • RTprogram