UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SPostBufferUpdate.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Misc/Attribute.h"
7#include "Input/Reply.h"
10#include "Styling/SlateTypes.h"
11
12class FPaintArgs;
15
22
28class FSlatePostProcessorUpdaterProxy : public TSharedFromThis<FSlatePostProcessorUpdaterProxy>
29{
30public:
31
32public:
33
37
39};
40
45 : public SLeafWidget
46{
48
49public:
53
55 SLATE_ARGUMENT(bool, bUsePaintGeometry)
57
58
60
66 UMG_API void Construct( const FArguments& InArgs );
67
68public:
71
79
84
87
90
91public:
92
93 //~Begin Widget Interface
94 UMG_API virtual int32 OnPaint( const FPaintArgs& Args, const FGeometry& AllottedGeometry, const FSlateRect& MyCullingRect, FSlateWindowElementList& OutDrawElements, int32 LayerId, const FWidgetStyle& InWidgetStyle, bool bParentEnabled ) const override;
95 //~End Widget Interface
96
98
99 //~Begin Widget Interface
100 UMG_API virtual FVector2D ComputeDesiredSize(float LayoutScaleMultiplier) const override;
101 //~End Widget Interface
102
103private:
104
106 bool bUsePaintGeometry;
107
109 TArray<ESlatePostRT> BuffersToUpdate;
110
112 TSharedPtr<FPostBufferUpdater> PostBufferUpdater;
113};
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define SLATE_END_ARGS()
Definition DeclarativeSyntaxSupport.h:116
#define SLATE_ARGUMENT(ArgType, ArgName)
Definition DeclarativeSyntaxSupport.h:208
#define SLATE_DECLARE_WIDGET_API(WidgetType, ParentType, ModuleApiDefine)
Definition SlateControlledConstruction.h:22
ESlatePostRT
Definition SlateRendererTypes.h:15
Definition PaintArgs.h:23
Definition SPostBufferUpdate.cpp:29
Definition SPostBufferUpdate.h:29
virtual ~FSlatePostProcessorUpdaterProxy()
Definition SPostBufferUpdate.h:34
virtual void UpdateProcessor_RenderThread(TSharedPtr< FSlateRHIPostBufferProcessorProxy >) const =0
Definition SlateRHIPostBufferProcessor.h:24
Definition SlateRect.h:26
Definition DrawElements.h:220
Definition WidgetStyle.h:15
Definition SLeafWidget.h:29
Definition SPostBufferUpdate.h:46
virtual UMG_API int32 OnPaint(const FPaintArgs &Args, const FGeometry &AllottedGeometry, const FSlateRect &MyCullingRect, FSlateWindowElementList &OutDrawElements, int32 LayerId, const FWidgetStyle &InWidgetStyle, bool bParentEnabled) const override
Definition SPostBufferUpdate.cpp:300
UMG_API const TArrayView< const ESlatePostRT > GetBuffersToUpdate() const
Definition SPostBufferUpdate.cpp:281
UMG_API void SetProcessorUpdaters(TMap< ESlatePostRT, TSharedPtr< FSlatePostProcessorUpdaterProxy > > InProcessorUpdaters)
Definition SPostBufferUpdate.cpp:271
UMG_API void Construct(const FArguments &InArgs)
Definition SPostBufferUpdate.cpp:210
SLATE_BEGIN_ARGS(SPostBufferUpdate)
Definition SPostBufferUpdate.h:50
UMG_API void SetBuffersToUpdate(const TArrayView< ESlatePostRT > InBuffersToUpdate)
Definition SPostBufferUpdate.cpp:247
UMG_API void SetUsePaintGeometry(bool bInUsePaintGeometry)
Definition SPostBufferUpdate.cpp:226
UMG_API void ReleasePostBufferUpdater()
Definition SPostBufferUpdate.cpp:286
virtual UMG_API FVector2D ComputeDesiredSize(float LayoutScaleMultiplier) const override
Definition SPostBufferUpdate.cpp:329
Definition ArrayView.h:139
Definition Array.h:670
Definition UnrealString.h.inl:34
Definition SharedPointer.h:1640
Definition SharedPointer.h:692
@ false
Definition radaudio_common.h:23
Definition Geometry.h:40