![]() |
XII Release 0.1.0
|
This describes bottom level acceleration structure creation description. More...
#include <BottomLevelAS.h>
Public Attributes | |
| xiiHybridArray< xiiGALBLASTriangleDescription, 4U > | m_Triangles |
| Array of triangle geometry descriptions. | |
| xiiHybridArray< xiiGALBLASBoundingBoxDescription, 4U > | m_BoundingBoxes |
| Array of AABB geometry descriptions. | |
| xiiBitflags< xiiGALRayTracingBuildASFlags > | m_BuildASFlags = xiiGALRayTracingBuildASFlags::None |
| Ray tracing build flags. The default is None. | |
| xiiUInt64 | m_uiCompactedSize = 0U |
| Compacted size, if this acceleration structure will be the target of a compacted copy operation. The default is 0. | |
| xiiUInt64 | m_uiCommandQueueMask = XII_BIT(0) |
Additional Inherited Members | |
Public Member Functions inherited from xiiHashableStruct< xiiGALBottomLevelASCreationDescription > | |
| 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. | |
This describes bottom level acceleration structure creation description.
| xiiUInt64 xiiGALBottomLevelASCreationDescription::m_uiCommandQueueMask = XII_BIT(0) |
Defines which command queues are allowed to execute commands that use this bottom 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.