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

Public Member Functions

void destroy ()
void validate ()
Context getContext () const
RTmaterial get ()
void setClosestHitProgram (unsigned int ray_type_index, Program program)
Program getClosestHitProgram (unsigned int ray_type_index) const
void setAnyHitProgram (unsigned int ray_type_index, Program program)
Program getAnyHitProgram (unsigned int ray_type_index) const
Variable declareVariable (const std::string &name)
Variable queryVariable (const std::string &name) const
void removeVariable (Variable v)
unsigned int getVariableCount () const
Variable getVariable (unsigned int index) const


class Handle< MaterialObj >

Additional Inherited Members

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

Detailed Description

Material wraps the OptiX C API RTmaterial opaque type and its associated function set.