FRDGBuilder::QueueTextureExtraction

Queues a pooled render target extraction to happen at the end of graph execution.

Windows
MacOS
Linux

References

Module

RenderCore

Header

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

Include

#include "RenderGraphBuilder.h"

Source

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

Syntax

void QueueTextureExtraction
(
    FRDGTextureRef Texture,
    TRefCountPtr< IPooledRenderTarget > * OutPooledTexturePtr,
    ERHIAccess AccessFinal
)

Remarks

Queues a pooled render target extraction to happen at the end of graph execution. For graph-created textures, this extends the lifetime of the GPU resource until execution, at which point the pointer is filled. If specified, the texture is transitioned to the AccessFinal state, or kDefaultAccessFinal otherwise.

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