Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::CopyTLASAttribs Struct Reference

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

#include <DeviceContext.h>

Public Attributes

ITopLevelASpSrc = nullptr
 Source top-level AS.
 
ITopLevelASpDst = nullptr
 Destination top-level AS.
 
COPY_AS_MODE Mode = COPY_AS_MODE_CLONE
 Acceleration structure copy mode, see Diligent::COPY_AS_MODE.
 
RESOURCE_STATE_TRANSITION_MODE SrcTransitionMode = RESOURCE_STATE_TRANSITION_MODE_NONE
 Source top-level AS state transition mode (see Diligent::RESOURCE_STATE_TRANSITION_MODE).
 
RESOURCE_STATE_TRANSITION_MODE DstTransitionMode = RESOURCE_STATE_TRANSITION_MODE_NONE
 Destination top-level AS state transition mode (see Diligent::RESOURCE_STATE_TRANSITION_MODE).
 

Detailed Description

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

Member Data Documentation

◆ pDst

ITopLevelAS* Diligent::CopyTLASAttribs::pDst = nullptr

Destination top-level AS.

If Mode is Diligent::COPY_AS_MODE_COMPACT then pDst must be created with CompactedSize that is greater or equal to size that returned by IDeviceContext::WriteTLASCompactedSize.

Note
Access to the TLAS must be externally synchronized.

◆ pSrc

ITopLevelAS* Diligent::CopyTLASAttribs::pSrc = nullptr

Source top-level AS.

Note
Access to the TLAS must be externally synchronized.