![]() |
XII Release 0.1.0
|
This describes the top level acceleration structure creation description. More...
#include <TopLevelAS.h>
Public Member Functions | |
| XII_DECLARE_POD_TYPE () | |
Public Member Functions inherited from xiiHashableStruct< xiiGALTopLevelASCreationDescription > | |
| 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 | |
| xiiUInt32 | m_uiMaxInstanceCount = 0U |
| The allocated size for the specified number of instances. The default is 0. | |
| xiiBitflags< xiiGALRayTracingBuildASFlags > | m_Flags = xiiGALRayTracingBuildASFlags::None |
| The ray tracing build flags. The default is None. | |
| xiiUInt64 | m_uiCompactedSize = 0U |
| The size returned when writing the TLAS compacted size, if the acceleration structure is going to be the target of a compacted copy command. The default is 0. | |
| xiiUInt64 | m_uiCommandQueueMask = XII_BIT(0) |
This describes the top level acceleration structure creation description.
| xiiUInt64 xiiGALTopLevelASCreationDescription::m_uiCommandQueueMask = XII_BIT(0) |
Defines which command queues are allowed to execute commands that use this top level acceleration structure. The default is the main command queue. Only specify the bits that indicate those command queues where the resource will be used, setting unnecessary bits will result in extra overhead.