UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FPostBufferUpdater Class Reference
+ Inheritance diagram for FPostBufferUpdater:

Public Member Functions

virtual void Draw_RenderThread (FRDGBuilder &GraphBuilder, const FDrawPassInputs &Inputs) override
 
virtual void PostCustomElementAdded (class FSlateElementBatcher &ElementBatcher) const override
 
- Public Member Functions inherited from ICustomSlateElement
virtual ~ICustomSlateElement ()
 
struct UE_DEPRECATED (5.5, "Use ICustomSlateElement::Draw instead") FSlateCustomDrawParams
 
virtual void DrawRenderThread (FRHICommandListImmediate &RHICmdList, const void *RenderTarget)
 
virtual PRAGMA_DISABLE_DEPRECATION_WARNINGS void Draw_RenderThread (FRHICommandListImmediate &RHICmdList, const void *RenderTarget, const FSlateCustomDrawParams &Params)
 
virtual PRAGMA_ENABLE_DEPRECATION_WARNINGS bool UsesAdditionalRHIParams () const
 

Public Attributes

bool bBuffersToUpdateInitialized = false
 
bool bUsePaintGeometry_Renderthread = false
 
ESlatePostRT BuffersToUpdate_Renderthread = ESlatePostRT::None
 
TMap< ESlatePostRT, TSharedPtr< FSlatePostProcessorUpdaterProxy > > ProcessorUpdaters
 
FPaintGeometry PaintGeometry_Renderthread = FPaintGeometry()
 

Detailed Description

Custom Slate drawer to update slate post buffer

Member Function Documentation

◆ Draw_RenderThread()

void FPostBufferUpdater::Draw_RenderThread ( FRDGBuilder GraphBuilder,
const FDrawPassInputs Inputs 
)
overridevirtual

Called from the render thread during element drawing.

Reimplemented from ICustomSlateElement.

◆ PostCustomElementAdded()

void FPostBufferUpdater::PostCustomElementAdded ( class FSlateElementBatcher ElementBatcher) const
overridevirtual

Called from the game thread during element batching.

Reimplemented from ICustomSlateElement.

Member Data Documentation

◆ bBuffersToUpdateInitialized

bool FPostBufferUpdater::bBuffersToUpdateInitialized = false

True if buffers to update has been initialized. Used to ensure 'BuffersToUpdate_Renderthread' is only set once at initialization.

◆ BuffersToUpdate_Renderthread

ESlatePostRT FPostBufferUpdater::BuffersToUpdate_Renderthread = ESlatePostRT::None

Buffers that we should update, all of these buffers will be affected by 'bPerformDefaultPostBufferUpdate' if disabled This value is read by the Renderthread, so all non-initialization updates must be done via a render command. See 'FSlatePostBufferBlurProxy::OnUpdateValuesRenderThread' as an example.

Additionally, note that this value should be masked against the currently enabled buffers in 'USlateRHIRendererSettings'

◆ bUsePaintGeometry_Renderthread

bool FPostBufferUpdater::bUsePaintGeometry_Renderthread = false

True if we should use the subregion rect

◆ PaintGeometry_Renderthread

FPaintGeometry FPostBufferUpdater::PaintGeometry_Renderthread = FPaintGeometry()

Paint geometry to use for subregion processing

◆ ProcessorUpdaters

TMap<ESlatePostRT, TSharedPtr<FSlatePostProcessorUpdaterProxy> > FPostBufferUpdater::ProcessorUpdaters

Proxies used to update a post processor within a frame


The documentation for this class was generated from the following file: