AddClearUAVPass

Clears parts of UAV specified by an array of screen rects.

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RenderGraphUtils.h

Include

#include "RenderGraphUtils.h"

Source

/Engine/Source/Runtime/RenderCore/Private/RenderGraphUtils.cpp

Syntax

void AddClearUAVPass
(
    FRDGBuilder & GraphBuilder,
    FRDGTextureUAVRef TextureUAV,
    const uint32 ClearValues,
    FRDGBufferSRVRef RectMinMaxBufferSRV,
    uint32 NumRects
)

Remarks

Clears parts of UAV specified by an array of screen rects. If no rects are specific, then it falls back to a standard UAV clear.

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