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 |
IBottomLevelAS * | pBLAS = nullptr |
Bottom-level AS that is specified in TLASBuildInstanceData::pBLAS. | |
Top-level AS instance description.
Uint32 Diligent::TLASInstanceDesc::InstanceIndex = 0 |
The autogenerated index of the instance. Same as InstanceIndex() in HLSL and gl_InstanceID in GLSL.