Diligent::WriteTLASCompactedSizeAttribs struct

This structure is used by IDeviceContext::WriteTLASCompactedSize().

Contents

Public variables

ITopLevelAS* pTLAS
Top-level AS.
IBuffer* pDestBuffer
The destination buffer into which a 64-bit value representing the acceleration structure compacted size will be written to.
Uint32 DestBufferOffset
Offset from the beginning of the buffer to the location of the AS compacted size.
RESOURCE_STATE_TRANSITION_MODE TLASTransitionMode
Top-level AS state transition mode (see Diligent::RESOURCE_STATE_TRANSITION_MODE).
RESOURCE_STATE_TRANSITION_MODE BufferTransitionMode
Destination buffer state transition mode (see Diligent::RESOURCE_STATE_TRANSITION_MODE).