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 >
 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< 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: