FRDGBuilder::QueueTextureExtraction

Queue a texture extraction.

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 > * OutTexturePtr,
    bool bTransitionToRead
)

Remarks

Queue a texture extraction. This will set *OutTexturePtr with the internal pooled render target at the Execute().

Note: even when the render graph uses the immediate debugging mode (executing passes as they get added), the texture extractions will still happen in the Execute(), to ensure there is no bug caused in code outside the render graph on whether this mode is used or not.

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