Diligent::CopyTLASAttribs struct

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

Contents

Public variables

ITopLevelAS* pSrc
Source top-level AS. Access to the TLAS must be externally synchronized.
ITopLevelAS* pDst
Destination top-level AS. If Mode is COPY_AS_MODE_COMPACT then pDst must be created with CompactedSize that is greater or equal to size that returned by IDeviceContext::WriteTLASCompactedSize. Access to the TLAS must be externally synchronized.
COPY_AS_MODE Mode
Acceleration structure copy mode, see Diligent::COPY_AS_MODE.
RESOURCE_STATE_TRANSITION_MODE SrcTransitionMode
Source top-level AS state transition mode (see Diligent::RESOURCE_STATE_TRANSITION_MODE).
RESOURCE_STATE_TRANSITION_MODE DstTransitionMode
Destination top-level AS state transition mode (see Diligent::RESOURCE_STATE_TRANSITION_MODE).