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

This describes bottom level acceleration structure creation description. More...

#include <BottomLevelAS.h>

Inheritance diagram for xiiGALBottomLevelASCreationDescription:
[legend]

Public Attributes

xiiHybridArray< xiiGALBLASTriangleDescription, 4U > m_Triangles
 Array of triangle geometry descriptions.
 
xiiHybridArray< xiiGALBLASBoundingBoxDescription, 4U > m_BoundingBoxes
 Array of AABB geometry descriptions.
 
xiiBitflags< xiiGALRayTracingBuildASFlagsm_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 >
 xiiHashableStruct (const xiiHashableStruct< xiiGALBottomLevelASCreationDescription > &other)
 
void operator= (const xiiHashableStruct< xiiGALBottomLevelASCreationDescription > &other)
 
XII_ALWAYS_INLINE constexpr bool operator== (const xiiHashableStruct< xiiGALBottomLevelASCreationDescription > &rhs) const=default
 
xiiUInt32 CalculateHash () const
 Calculates the 32 bit hash of the struct and returns it.
 

Detailed Description

This describes bottom level acceleration structure creation description.

Member Data Documentation

◆ m_uiCommandQueueMask

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.


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