FD3D12ResourceBarrierBatcher::AddTransition

Add a transition resource barrier to the batch. Returns the number of barriers added, which may be negative if an existing barrier was cancelled.

Windows
MacOS
Linux

References

Module

D3D12RHI

Header

/Engine/Source/Runtime/D3D12RHI/Public/D3D12Resources.h

Include

#include "D3D12Resources.h"

Syntax

int32 AddTransition
(
    FD3D12Resource * pResource,
    D3D12_RESOURCE_STATES Before,
    D3D12_RESOURCE_STATES After,
    uint32 Subresource
)

Remarks

Add a transition resource barrier to the batch. Returns the number of barriers added, which may be negative if an existing barrier was cancelled.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss