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 |
Friends | |
class | Handle< MaterialObj > |
Additional Inherited Members | |
![]() | |
static Exception | makeException (RTresult code, RTcontext context) |
Material wraps the OptiX C API RTmaterial opaque type and its associated function set.