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

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

#include <CommandList.h>

Public Member Functions

 XII_DECLARE_POD_TYPE ()

Public Attributes

xiiGALBottomLevelAS * m_pBottomLevelAS = nullptr
 BLAS target.
xiiGALBuffer * m_pScratchBuffer = nullptr
 Scratch buffer used during build.
xiiUInt64 m_uiScratchBufferOffset = 0U
 Byte offset into scratch buffer.
xiiDynamicArray< xiiGALBLASTriangleBuildDescription > m_Triangles
 Build data for triangle geometries.
xiiDynamicArray< xiiGALBLASBoundingBoxBuildDescription > m_BoundingBoxes
 Build data for AABB geometries.
xiiBitflags< xiiGALRayTracingBuildASFlags > m_BuildFlags = xiiGALRayTracingBuildASFlags::None
 Optional validation copy of the creation flags. If specified, it must exactly match the BLAS 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 bottom-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