RegisterExternalOrPassthroughTexture

Used to help port code over to RDG. If the graph builder is null, creates a passthrough RDG texture instead. Will be removed once port is complete.

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

FRDGTextureRef RegisterExternalOrPassthroughTexture
(
    FRDGBuilder * GraphBuilder,
    const TRefCountPtr< IPooledRenderTarget > & PooledRenderTarget,
    ERDGTextureFlags Flags
)

Remarks

Used to help port code over to RDG. If the graph builder is null, creates a passthrough RDG texture instead. Will be removed once port is complete.

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