![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SlateDrawBuffer.h>
Inheritance diagram for FSlateDrawBuffer:Public Attributes | |
| FDeprecateSlateVector2D | ViewOffset |
Additional Inherited Members | |
Public Types inherited from FGCObject | |
| enum class | EFlags : uint32 { None = 0 , RegisterLater = 1 << 0 , AddStableNativeReferencesOnly = 1 << 1 } |
Static Public Member Functions inherited from FGCObject | |
| static COREUOBJECT_API void | StaticInit () |
Static Public Attributes inherited from FGCObject | |
| static COREUOBJECT_API UGCObjectReferencer * | GGCObjectReferencer = nullptr |
Implements a draw buffer for Slate.
| FSlateDrawBuffer::FSlateDrawBuffer | ( | ) |
Default constructor.
|
default |
|
overridevirtual |
| FSlateWindowElementList & FSlateDrawBuffer::AddWindowElementList | ( | TSharedRef< SWindow > | ForWindow | ) |
Creates a new FSlateWindowElementList and returns a reference to it so it can have draw elements added to it
| ForWindow | The window for which we are creating a list of paint elements. |
| void FSlateDrawBuffer::ClearBuffer | ( | ) |
Removes all data from the buffer.
|
inlinevirtual |
Overload this method to report a name for your referencer
Implements FGCObject.
|
inline |
Gets all window element lists in this buffer.
|
inline |
| bool FSlateDrawBuffer::Lock | ( | ) |
Locks the draw buffer. Indicates that the viewport is in use.
Removes any window from the draw buffer that's not in this list or whose window has become invalid.
|
inline |
| void FSlateDrawBuffer::Unlock | ( | const UE::Tasks::FTask & | PrerequisiteTask | ) |
Unlocks the buffer. Indicates that the buffer is free.
Updates renderer resource version to allow the draw buffer to clean up cached resources
| FDeprecateSlateVector2D FSlateDrawBuffer::ViewOffset |