![]() |
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 () | |
![]() | |
xiiHashableStruct (const xiiHashableStruct< xiiGALTopLevelASCreationDescription > &other) | |
void | operator= (const xiiHashableStruct< xiiGALTopLevelASCreationDescription > &other) |
XII_ALWAYS_INLINE constexpr bool | operator== (const xiiHashableStruct< xiiGALTopLevelASCreationDescription > &rhs) const=default |
xiiUInt32 | CalculateHash () const |
Calculates the 32 bit hash of the struct and returns it. | |
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.