|
OptiX
3.9
NVIDIA OptiX Acceleration Engine
|
Base class for all reference counted wrappers around OptiX C API opaque types.
Wraps:
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) |
|
inlinevirtual |
Check the given result code and throw an error with appropriate message if the code is not RTsuccess
Reimplemented in optix::ContextObj.
1.8.6