NVIDIA OptiX 6.5 API nvidia_logo_transpbg.gif Up
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
optix::APIObj Class Referenceabstract
Inheritance diagram for optix::APIObj:
optix::DestroyableObj optix::VariableObj optix::AccelerationObj optix::BufferObj optix::CommandListObj optix::GeometryGroupObj optix::GeometryTrianglesObj optix::GroupObj optix::PostprocessingStageObj optix::ScopedObj optix::SelectorObj optix::TextureSamplerObj optix::TransformObj

Public Member Functions

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
 

Static Public Member Functions

static Exception makeException (RTresult code, RTcontext context)
 

Detailed Description

Base class for all reference counted wrappers around OptiX C API opaque types.

Wraps:

  • RTcontext
  • RTbuffer
  • RTgeometry
  • RTgeometrytriangles
  • RTgeometryinstance
  • RTgeometrygroup
  • RTgroup
  • RTmaterial
  • RTprogram
  • RTselector
  • RTtexturesampler
  • RTtransform
  • RTvariable