![]() |
XII Release 0.1.0
|
This describes the top level acceleration structure instance. More...
#include <TopLevelAS.h>
Public Member Functions | |
XII_DECLARE_POD_TYPE () | |
![]() | |
xiiHashableStruct (const xiiHashableStruct< xiiGALTopLevelASInstanceDescription > &other) | |
void | operator= (const xiiHashableStruct< xiiGALTopLevelASInstanceDescription > &other) |
XII_ALWAYS_INLINE constexpr bool | operator== (const xiiHashableStruct< xiiGALTopLevelASInstanceDescription > &rhs) const=default |
xiiUInt32 | CalculateHash () const |
Calculates the 32 bit hash of the struct and returns it. | |
Public Attributes | |
xiiSharedPtr< xiiGALBottomLevelAS > | m_pBottomLevelAS |
The reference-counted pointer to the bottom-level acceleration structure. | |
xiiUInt32 | m_uiContributionToHitGroupIndex = 0U |
The index that corresponds to the one specified in the TLAS build instance contribution to the hit group index. | |
xiiUInt32 | m_uiInstanceIndex = 0U |
The autogenerated index of the instance. | |
This describes the top level acceleration structure instance.