XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGALTopLevelASCreationDescription Struct Reference

This describes the top level acceleration structure creation description. More...

#include <TopLevelAS.h>

Inheritance diagram for xiiGALTopLevelASCreationDescription:
[legend]

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.
 
xiiHashableStructoperator= (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< xiiGALRayTracingBuildASFlagsm_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)
 

Detailed Description

This describes the top level acceleration structure creation description.

Member Data Documentation

◆ m_uiCommandQueueMask

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.


The documentation for this struct was generated from the following file: