GetTraversableWorldToObject¶
Description¶
Returns the world-to-object transform from an instance traversable.
Signature¶
matrix<float, 3, 4> GetTraversableWorldToObject(uint64_t handle);
Parameters¶
handle : uint64_t¶
Instance traversable handle to query
Return value¶
3x4 transform matrix representing the world-to-object 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.