Navigation
Unreal Engine C++ API Reference > Runtime > SlateCore > Rendering
Inheritance Hierarchy
- FGCObject
- FSlateDrawBuffer
References
Module | SlateCore |
Header | /Engine/Source/Runtime/SlateCore/Public/Rendering/SlateDrawBuffer.h |
Include | #include "Rendering/SlateDrawBuffer.h" |
Syntax
class FSlateDrawBuffer : public FGCObject
Remarks
Implements a draw buffer for Slate.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FDeprecateSlateVector2D | ViewOffset |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Default constructor. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
FSlateWindowElementList & | AddWindowElementList
(
TSharedRef< SWindow > ForWindow |
Creates a new FSlateWindowElementList and returns a reference to it so it can have draw elements added to it |
![]() |
void | ClearBuffer () |
Removes all data from the buffer. |
![]() |
const TArray< TSharedRef< FSlateWindowElementList > > & | Gets all window element lists in this buffer. | |
![]() ![]() |
bool | IsLocked () |
|
![]() |
bool | Lock () |
Locks the draw buffer. Indicates that the viewport is in use. |
![]() |
void | RemoveUnusedWindowElement
(
const TArray< SWindow* >& AllWindows |
Removes any window from the draw buffer that's not in this list or whose window has become invalid. |
![]() |
void | Unlock () |
Unlocks the buffer. Indicates that the buffer is free. |
![]() |
void | UpdateResourceVersion
(
uint32 NewResourceVersion |
Updates renderer resource version to allow the draw buffer to clean up cached resources |
Overridden from FGCObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AddReferencedObjects
(
FReferenceCollector& Collector |
FGCObject Interface |
![]() ![]() ![]() |
FString | Overload this method to report a name for your referencer |