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

Describes parameters for building or updating a top-level acceleration structure. More...

#include <CommandList.h>

Public Member Functions

 XII_DECLARE_POD_TYPE ()

Public Attributes

xiiGALTopLevelAS * m_pTopLevelAS = nullptr
 TLAS target.
xiiGALBuffer * m_pInstanceBuffer = nullptr
 Instance description buffer.
xiiUInt64 m_uiInstanceBufferOffset = 0U
 Byte offset into instance buffer.
xiiUInt32 m_uiInstanceCount = 0U
 Number of instances.
xiiGALBuffer * m_pScratchBuffer = nullptr
 Scratch buffer used during build.
xiiUInt64 m_uiScratchBufferOffset = 0U
 Byte offset into scratch buffer.
xiiBitflags< xiiGALRayTracingBuildASFlags > m_BuildFlags = xiiGALRayTracingBuildASFlags::None
 Optional validation copy of the creation flags. If specified, it must exactly match the TLAS creation flags.
bool m_bUpdate = false
 Update existing AS instead of full rebuild.
xiiEnum< xiiGALStateTransitionMode > m_ResourceStateTransitionMode = xiiGALStateTransitionMode::Transition
 State transition mode used for all referenced resources.

Detailed Description

Describes parameters for building or updating a top-level acceleration structure.


The documentation for this struct was generated from the following file:
  • /home/runner/work/XII/XII/Source/Engine/GraphicsFoundation/CommandEncoder/CommandList.h