Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::TLASInstanceDesc Struct Reference

Top-level AS instance description. More...

#include <TopLevelAS.h>

Public Attributes

Uint32 ContributionToHitGroupIndex = 0
 Index that corresponds to the one specified in TLASBuildInstanceData::ContributionToHitGroupIndex.
 
Uint32 InstanceIndex = 0
 
IBottomLevelASpBLAS = nullptr
 Bottom-level AS that is specified in TLASBuildInstanceData::pBLAS.
 

Detailed Description

Top-level AS instance description.

Member Data Documentation

◆ InstanceIndex

Uint32 Diligent::TLASInstanceDesc::InstanceIndex = 0

The autogenerated index of the instance. Same as InstanceIndex() in HLSL and gl_InstanceID in GLSL.