![]() |
XII Release 0.1.0
|
This describes the top level acceleration structure instance. More...
#include <TopLevelAS.h>
Public Member Functions | |
| XII_DECLARE_POD_TYPE () | |
Public Member Functions inherited from xiiHashableStruct< xiiGALTopLevelASInstanceDescription > | |
| constexpr | xiiHashableStruct () noexcept |
| Default constructor. Initializes all bytes to zero. | |
| xiiHashableStruct (const xiiHashableStruct &other) noexcept | |
| Bitwise copy constructor. | |
| xiiHashableStruct & | operator= (const xiiHashableStruct &other) noexcept |
| Bitwise assignment operator. | |
| bool | operator== (const xiiHashableStruct &other) const noexcept |
| Compares equality via raw byte comparison. | |
| std::strong_ordering | operator<=> (const xiiHashableStruct &other) const noexcept |
| Compares ordering via raw byte comparison. | |
| xiiUInt32 | CalculateHash () const noexcept |
| Calculates a 32-bit hash from raw bytes of the struct. | |
| void | Clear () noexcept |
| Fills all bytes with zero. | |
| bool | IsZero () const noexcept |
| Returns true if all bytes are zero. | |
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.