Navigation
API > API/Runtime > API/Runtime/UMG
Implements a widget that triggers a post buffer update on draw
| Name | SPostBufferUpdate |
| Type | class |
| Header File | /Engine/Source/Runtime/UMG/Public/Slate/SPostBufferUpdate.h |
| Include Path | #include "Slate/SPostBufferUpdate.h" |
Syntax
class SPostBufferUpdate : public SLeafWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SLeafWidget → SPostBufferUpdate
- FSlateControlledConstruction → SWidget → SLeafWidget → SPostBufferUpdate
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SPostBufferUpdate() |
Constructor | Slate/SPostBufferUpdate.h |
Structs
| Name | Remarks |
|---|---|
| FArguments |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| PrivateParentType | SLeafWidget | Slate/SPostBufferUpdate.h | |
| PrivateThisType | SPostBufferUpdate | Slate/SPostBufferUpdate.h | |
| Super | SLeafWidget | Slate/SPostBufferUpdate.h | |
| ThisClass | SPostBufferUpdate | Slate/SPostBufferUpdate.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BuffersToUpdate | TArray< ESlatePostRT > | Buffers that we should update, all of these buffers will be affected by 'bPerformDefaultPostBufferUpdate' if disabled | Slate/SPostBufferUpdate.h | |
| bUsePaintGeometry | bool | True if we should limit processing to our paint geometry | Slate/SPostBufferUpdate.h | |
| PostBufferUpdater | TSharedPtr< FPostBufferUpdater > | Custom drawer used to trigger a post buffer update | Slate/SPostBufferUpdate.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs |
Construct this widget | Slate/SPostBufferUpdate.h | |
const TArrayView< const ESlatePostRT > GetBuffersToUpdate() |
Get buffers to update | Slate/SPostBufferUpdate.h | |
virtual int32 OnPaint
(
const FPaintArgs& Args, |
Slate/SPostBufferUpdate.h | ||
void ReleasePostBufferUpdater() |
Release Post Buffer Updater, called out of caution in case of reuse during 'ReleaseSlateResources' in UWidget | Slate/SPostBufferUpdate.h | |
void SetBuffersToUpdate
(
const TArrayView< ESlatePostRT > InBuffersToUpdate |
Set buffers to, this method only affects the 'FPostBufferUpdater' custom drawer once during initialization. | Slate/SPostBufferUpdate.h | |
void SetProcessorUpdaters
(
TMap< ESlatePostRT, TSharedPtr< FSlatePostProcessorUpdaterProxy > > InProcessorUpdaters |
Set processsor updaters for the given buffers by index. | Slate/SPostBufferUpdate.h | |
void SetUsePaintGeometry
(
bool bInUsePaintGeometry |
Set if we should use paint geometry | Slate/SPostBufferUpdate.h |
Overridden from FSlateControlledConstruction
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FSlateWidgetClassData & GetWidgetClass() |
Slate/SPostBufferUpdate.h |
Protected
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector2D ComputeDesiredSize
(
float LayoutScaleMultiplier |
Slate/SPostBufferUpdate.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FSlateWidgetClassData & GetPrivateWidgetClass() |
Slate/SPostBufferUpdate.h | ||
static UMG_API void PrivateRegisterAttributes
(
FSlateAttributeInitializer& |
Slate/SPostBufferUpdate.h | ||
static const FSlateWidgetClassData & StaticWidgetClass() |
Slate/SPostBufferUpdate.h |