Choose your operating system:
Windows
macOS
Linux
| SCompoundWidget | ||
| FSlateInvalidationRoot
|
Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Slate/SRetainerWidget.h |
Include |
#include "Slate/SRetainerWidget.h" |
class SRetainerWidget :
public SCompoundWidget,
public FSlateInvalidationRoot
The SRetainerWidget renders children widgets to a render target first before later rendering that render target to the screen. This allows both frequency and phase to be controlled so that the UI can actually render less often than the frequency of the main game render. It also has the side benefit of allow materials to be applied to the render target after drawing the widgets to apply a simple post process.
Name | Description | |
---|---|---|
|
SRetainerWidget() |
Name | Description | |
---|---|---|
|
~SRetainerWidget() |
Name | Description | ||
---|---|---|---|
|
Construct ( |
Constructor |
|
|
UMaterialIns... |
GetEffectMaterial() |
|
|
IsAnythingVisibleToRender() |
||
|
OnRetainerModeChanged() |
||
|
EPaintRetain... |
PaintRetainedContentImpl ( |
|
|
RefreshRenderingMode() |
||
|
RequestRender() |
Requests that the retainer redraw the hosted content next time it's painted. |
|
|
SetContent ( |
||
|
SetEffectMaterial ( |
||
|
SetRenderingPhase |
||
|
SetRetainedRendering ( |
||
|
SetTextureParameter ( |
||
|
SetWorld ( |
||
|
ShouldBeRenderingOffscreen() |
Name | Description | ||
---|---|---|---|
|
const FSlate... |
Advanced_AsInvalidationRoot() |
|
|
Advanced_IsInvalidationRoot() |
||
|
ComputeDesiredSize ( |
Compute the ideal size necessary to display this widget. |
|
|
CustomPrepass ( |
||
|
FChildren &#... |
Debug_GetChildrenForReflector() |
Returns all Widgets, including widget hidden from the invalidation system. |
|
FChildren &#... |
GetChildren() |
Returns the useful children (if any) of this widget. |
|
OnPaint ( |
SCompoundWidget interface |
Name | Description | ||
---|---|---|---|
|
TSharedRef< ... |
GetRootWidget() |
|
|
OnRootInvalidated() |
||
|
PaintSlowPath ( |
Name |
Description |
|
---|---|---|
|
FArguments |
Name |
Description |
|
---|---|---|
|
EPaintRetainedContentResult |