AddClearRenderTargetPass

Adds a render graph pass to clear a render target. Draws a quad to the requested viewport.

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 AddClearRenderTargetPass
(
    FRDGBuilder & GraphBuilder,
    FRDGTextureRef Texture,
    const FLinearColor & ClearColor,
    FIntRect Viewport
)

Remarks

Adds a render graph pass to clear a render target. Draws a quad to the requested viewport.

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