Navigation
API > API/Runtime > API/Runtime/UMG
Widget that when drawn, will trigger the slate post buffer to update. Does not draw anything itself. This allows for you to perform layered UI / sampling effects with the GetSlatePost material functions, by placing this widget after UI you would like to be processed / sampled is drawn.
- No Children
| Name | UPostBufferUpdate |
| Type | class |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/PostBufferUpdate.h |
| Include Path | #include "Components/PostBufferUpdate.h" |
Syntax
UCLASS (MinimalAPI)
class UPostBufferUpdate : public UWidget
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UVisual → UWidget → UPostBufferUpdate
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPostBufferUpdate() |
Components/PostBufferUpdate.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bPerformDefaultPostBufferUpdate | bool | True if we should do the default post buffer update of the scene before any UI. | Components/PostBufferUpdate.h |
|
| BuffersToUpdate | TArray< ESlatePostRT > | Buffers that we should update, all of these buffers will be affected by 'bPerformDefaultPostBufferUpdate' if disabled | Components/PostBufferUpdate.h |
|
| bUpdateOnlyPaintArea | bool | True if we should only update the buffer within the bounds of this widget | Components/PostBufferUpdate.h |
|
| UpdateBufferInfos | TArray< FSlatePostBufferUpdateInfo > | Buffer to update when this widget is drawn, along with info needed to update that buffer if desired intra-frame | Components/PostBufferUpdate.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool DoesUpdateSlatePostRT
(
ESlatePostRT SlateBufferBits |
True if this widget updates any buffer indicated in SlateBufferBits | Components/PostBufferUpdate.h | |
bool GetUpdateOnlyPaintArea() |
Components/PostBufferUpdate.h |
Protected
Overridden from UWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedRef< SWidget > RebuildWidget() |
Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. | Components/PostBufferUpdate.h | |
virtual void SynchronizeProperties () |
Applies all properties to the native widget if possible. | Components/PostBufferUpdate.h |
Overridden from UVisual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ReleaseSlateResources
(
bool bReleaseChildren |
Components/PostBufferUpdate.h |