FRDGBuilder::RegisterExternalTexture

Registers a external pooled render target texture to be tracked by the render graph.

Windows
MacOS
Linux

References

Module

RenderCore

Header

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

Include

#include "RenderGraphBuilder.h"

Source

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

Syntax

FRDGTextureRef RegisterExternalTexture
(
    const TRefCountPtr< IPooledRenderTarget > & ExternalPooledTexture,
    ERenderTargetTexture Texture,
    ERDGTextureFlags Flags
)

Remarks

Registers a external pooled render target texture to be tracked by the render graph. The pooled render target may contain two RHI texturesone MSAA and one non-MSAA resolve texture. In most cases they are both the same pointer. RDG textures are 1-to-1 with an RHI texture, so two RDG textures must be registered at most. Use ERenderTargetTexture to select which RHI texture on the pooled render target to register. The name of the registered RDG texture is pulled from the pooled render target.

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