ERDGPassFlags

ENUMS Flags to annotate a pass with when calling AddPass.

Windows
MacOS
Linux

References

Module

RenderCore

Header

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

Include

#include "RenderGraphDefinitions.h"

Syntax

enum ERDGPassFlags
{
    None               = 0,
    Raster             = 1 << 0,
    Compute            = 1 << 1,
    AsyncCompute       = 1 << 2,
    Copy               = 1 << 3,
    NeverCull          = 1 << 4,
    SkipRenderPass     = 1 << 5,
    UntrackedAccess    = 1 << 6,
    Readback           = Copy | NeverCull,
    CommandMask        = Raster | Compute | AsyncCompute | Copy,
    ScopeMask          = NeverCull | UntrackedAccess,
}

Values

Name

Description

None

Pass doesn't have any inputs or outputs tracked by the graph.

Raster

Pass uses rasterization on the graphics pipe.

Compute

Pass uses compute on the graphics pipe.

AsyncCompute

Pass uses compute on the async compute pipe.

Copy

Pass uses copy commands on the graphics pipe.

NeverCull

Pass (and its producers) will never be culled. Necessary if outputs cannot be tracked by the graph.

SkipRenderPass

Render pass begin / end is skipped and left to the user.

UntrackedAccess

Pass accesses raw RHI resources which may be registered with the graph, but all resources are kept in their current state.

Readback

Pass uses copy commands but writes to a staging resource.

CommandMask

Mask of flags denoting the kinds of RHI commands submitted to a pass.

ScopeMask

Mask of flags which can used by a pass flag scope.

Remarks

ENUMS Flags to annotate a pass with when calling AddPass.

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