GetTraversableChild

Description

Returns the child traversable handle from an instance traversable.

Signature

uint64_t GetTraversableChild(uint64_t handle);

Parameters

handle : uint64_t

Instance traversable handle to query

Return value

Child traversable handle, or 0 if handle does not reference an instance

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.