FD3D12ResourceBarrierBatcher

Windows
MacOS
Linux

Inheritance Hierarchy

FNoncopyable

FD3D12ResourceBarrierBatcher

References

Module

D3D12RHI

Header

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

Include

#include "D3D12Resources.h"

Syntax

class FD3D12ResourceBarrierBatcher : public FNoncopyable

Constructors

Functions

Name Description

Public function

void

 

AddAliasingBarrier

(
    ID3D12Resource* pResource
)

Public function

int32

 

AddTransition

(
    ID3D12Resource* pResource,
    D3D12_RESOURCE_STATES Before,
    D3D12_RESOURCE_STATES After,
    uint32 Subresource
)

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

Public function

void

 

AddUAV()

Add a UAV barrier to the batch. Ignoring the actual resource for now.

Public function

void

 

Flush

(
    ID3D12GraphicsCommandList* pCo...
)

Flush the batch to the specified command list then reset.

Public function Const

const TArray...

 

GetBarriers()

Public function

void

 

Reset()

Clears the batch.

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