Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/RenderGraphBuilder.h |
Include |
#include "RenderGraphBuilder.h" |
Source |
/Engine/Source/Runtime/RenderCore/Public/RenderGraphBuilder.inl |
void QueueBufferExtraction
(
FRDGBufferRef Buffer,
TRefCountPtr< FPooledRDGBuffer > * OutBufferPtr,
FRDGResourceState::EAccess DestinationAccess,
FRDGResourceState::EPipeline DestinationPipeline
)
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.