Diligent::TLASInstanceDesc struct

Top-level AS instance description.

Contents

Public variables

Uint32 ContributionToHitGroupIndex
Index that corresponds to the one specified in TLASBuildInstanceData::ContributionToHitGroupIndex.
Uint32 InstanceIndex
The autogenerated index of the instance. Same as InstanceIndex() in HLSL and gl_InstanceID in GLSL.
IBottomLevelAS* pBLAS
Bottom-level AS that is specified in TLASBuildInstanceData::pBLAS.