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

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

#include <DeviceContext.h>

Public Attributes

IBottomLevelASpSrc = nullptr
 Source bottom-level AS.
 
IBottomLevelASpDst = nullptr
 Destination bottom-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 bottom-level AS state transition mode (see Diligent::RESOURCE_STATE_TRANSITION_MODE).
 
RESOURCE_STATE_TRANSITION_MODE DstTransitionMode = RESOURCE_STATE_TRANSITION_MODE_NONE
 Destination bottom-level AS state transition mode (see Diligent::RESOURCE_STATE_TRANSITION_MODE).
 

Detailed Description

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

Member Data Documentation

◆ pDst

IBottomLevelAS* Diligent::CopyBLASAttribs::pDst = nullptr

Destination bottom-level AS.

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

Note
Access to the BLAS must be externally synchronized.

◆ pSrc

IBottomLevelAS* Diligent::CopyBLASAttribs::pSrc = nullptr

Source bottom-level AS.

Note
Access to the BLAS must be externally synchronized.