OptiX
3.9
NVIDIA OptiX Acceleration Engine
|
Acceleration wraps the OptiX C API RTacceleration opaque type and its associated function set.
Public Member Functions | |
void | destroy () |
void | validate () |
Context | getContext () const |
RTacceleration | get () |
void | markDirty () |
bool | isDirty () const |
void | setProperty (const std::string &name, const std::string &value) |
std::string | getProperty (const std::string &name) const |
void | setBuilder (const std::string &builder) |
std::string | getBuilder () const |
void | setTraverser (const std::string &traverser) |
std::string | getTraverser () const |
RTsize | getDataSize () const |
void | getData (void *data) const |
void | setData (const void *data, RTsize size) |
Public Member Functions inherited from optix::APIObj | |
void | addReference () |
int | removeReference () |
virtual void | checkError (RTresult code) const |
virtual void | checkError (RTresult code, Context context) const |
void | checkErrorNoGetContext (RTresult code) const |
Friends | |
class | Handle< AccelerationObj > |
Additional Inherited Members | |
Static Public Member Functions inherited from optix::APIObj | |
static Exception | makeException (RTresult code, RTcontext context) |
|
inline |
Query the size of the marshalled acceleration data. See rtAccelerationGetDataSize.
|
inline |
Query properties specifying Acceleration builder/traverser behavior. See rtAccelerationGetProperty.
|
inline |
Mark the acceleration as needing a rebuild. See rtAccelerationMarkDirty.
|
inline |
Set properties specifying Acceleration builder/traverser behavior. See rtAccelerationSetProperty.