FRDGBuilder::QueueBufferExtraction

Queue a buffer 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 QueueBufferExtraction
(
    FRDGBufferRef Buffer,
    TRefCountPtr< FPooledRDGBuffer > * OutBufferPtr,
    FRDGResourceState::EAccess DestinationAccess,
    FRDGResourceState::EPipeline DestinationPipeline
)

Remarks

Queue a buffer extraction. This will set *OutBufferPtr with the internal pooled buffer at the Execute().

Note: even when the render graph uses the immediate debugging mode (executing passes as they get added), the buffer 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