Choose your operating system:
Windows
macOS
Linux
| FGCObject
|
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Rendering/SlateDrawBuffer.h |
Include |
#include "Rendering/SlateDrawBuffer.h" |
class FSlateDrawBuffer : public FGCObject
Implements a draw buffer for Slate.
Name | Description | ||
---|---|---|---|
|
Locked |
1 if this buffer is locked, 0 otherwise. |
|
|
ResourceVersion |
Last recorded version from the render. The WindowElementListsPool is emptied when this changes. |
|
|
ViewOffset |
||
|
WindowElementLists |
List of window element lists. |
|
|
WindowElementListsPool |
List of window element lists that we store from the previous frame that we restore if they're requested again. |
Name | Description | |
---|---|---|
|
FSlateDrawBuffer() |
Default constructor. |
Name | Description | |
---|---|---|
|
~FSlateDrawBuffer() |
Name | Description | ||
---|---|---|---|
|
FSlateWindow... |
AddWindowElementList ( |
Creates a new FSlateWindowElementList and returns a reference to it so it can have draw elements added to it |
|
ClearBuffer() |
Removes all data from the buffer. |
|
|
const TArray... |
GetWindowElementLists() |
Gets all window element lists in this buffer. |
|
Lock() |
Locks the draw buffer. Indicates that the viewport is in use. |
|
|
RemoveUnusedWindowElement |
Removes any window from the draw buffer that's not in this list or whose window has become invalid. |
|
|
Unlock() |
Unlocks the buffer. Indicates that the buffer is free. |
|
|
UpdateResourceVersion ( |
Updates renderer resource version to allow the draw buffer to clean up cached resources |
Name | Description | ||
---|---|---|---|
|
AddReferencedObjects ( |
FGCObject Interface |
|
|
GetReferencerName() |
Use this method to report a name for your referencer. |