![]() |
XII Release 0.1.0
|
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. | |
Describes parameters for building or updating a top-level acceleration structure.