|
OptiX
3.9
NVIDIA OptiX Acceleration Engine
|
Group wraps the OptiX C API RTgroup opaque type and its associated function set.
Public Member Functions | |
| void | destroy () |
| void | validate () |
| Context | getContext () const |
| RTgroup | get () |
| void | setAcceleration (Acceleration acceleration) |
| Acceleration | getAcceleration () const |
| void | setChildCount (unsigned int count) |
| unsigned int | getChildCount () const |
| template<typename T > | |
| void | setChild (unsigned int index, T child) |
| template<typename T > | |
| T | getChild (unsigned int index) const |
| RTobjecttype | getChildType (unsigned int index) const |
| template<typename T > | |
| unsigned int | addChild (T child) |
| template<typename T > | |
| unsigned int | removeChild (T child) |
| void | removeChild (int index) |
| void | removeChild (unsigned int index) |
| template<typename T > | |
| unsigned int | getChildIndex (T child) const |
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< GroupObj > |
Additional Inherited Members | |
Static Public Member Functions inherited from optix::APIObj | |
| static Exception | makeException (RTresult code, RTcontext context) |
|
inline |
Remove a child in this group. Note: this function is not order-preserving. Returns the position of the removed element if succeeded. Throws RT_ERROR_INVALID_VALUE if the parameter is invalid.
|
inline |
Remove a child in this group. Note: this function is not order-preserving. Throws RT_ERROR_INVALID_VALUE if the parameter is invalid.
|
inline |
Remove a child in this group. Note: this function is not order-preserving. Throws RT_ERROR_INVALID_VALUE if the parameter is invalid.
|
inline |
Set the Acceleration structure for this group. See rtGroupSetAcceleration.
|
inline |
Set the number of children for this group. See rtGroupSetChildCount.
1.8.6