GetTraversableObjectToWorld¶
Description¶
Returns the object-to-world transform from an instance traversable.
Signature¶
matrix<float, 3, 4> GetTraversableObjectToWorld(uint64_t handle);
Parameters¶
handle : uint64_t¶
Instance traversable handle to query
Return value¶
3x4 transform matrix representing the object-to-world transformation
Remarks¶
Currently only supported on CUDA/OptiX
Availability and Requirements¶
Defined for the following targets:
cuda¶
Available in stages: intersection, raygen, miss, callable, closesthit, anyhit.
Requires capability: optix_multilevel_traversal.