engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FSlateDrawBuffer类 参考

Implements a draw buffer for Slate. 更多...

#include <SlateDrawBuffer.h>

+ 类 FSlateDrawBuffer 继承关系图:

Public 成员函数

virtual void AddReferencedObjects (FReferenceCollector &Collector) override
 FGCObject Interface
 
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.
 
 FSlateDrawBuffer ()
 Default constructor.
 
virtual FString GetReferencerName () const
 Use this method to report a name for your referencer.
 
const TArray< TSharedRef< FSlateWindowElementList > > & GetWindowElementLists ()
 Gets all window element lists in this buffer.
 
bool Lock ()
 Locks the draw buffer. 更多...
 
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. 更多...
 
void UpdateResourceVersion (uint32 NewResourceVersion)
 Updates renderer resource version to allow the draw buffer to clean up cached resources
 
- Public 成员函数 继承自 FGCObject
virtual void AddReferencedObjects (FReferenceCollector &Collector)=0
 Pure virtual that must be overloaded by the inheriting class. 更多...
 
 FGCObject (FGCObject &&)
 Move constructor
 
 FGCObject (FGCObject const &)
 Copy constructor
 
 FGCObject (void)
 Tells the global object that forwards AddReferencedObjects calls on to objects that a new object is requiring AddReferencedObjects call.
 
virtual FString GetReferencerName () const
 Use this method to report a name for your referencer.
 
virtual bool GetReferencerPropertyName (UObject *Object, FString &OutPropertyName) const
 Use this method to report how the specified object is referenced, if necessary
 
virtual ~FGCObject (void)
 Removes this instance from the global referencer's list
 

额外继承的成员函数

- 静态 Public 成员函数 继承自 FGCObject
static void StaticInit (void)
 Initializes the global object referencer and adds it to the root set.
 
- 静态 Public 属性 继承自 FGCObject
static UGCObjectReferencer * GGCObjectReferencer
 The static object referencer object that is shared across all garbage collectible non-UObject objects.
 

详细描述

Implements a draw buffer for Slate.

成员函数说明

◆ AddWindowElementList()

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

参数
ForWindowThe window for which we are creating a list of paint elements.

◆ Lock()

bool FSlateDrawBuffer::Lock ( )

Locks the draw buffer.

Indicates that the viewport is in use.

返回
true if the viewport could be locked. False otherwise.
参见
Unlock

◆ Unlock()

void FSlateDrawBuffer::Unlock ( )

Unlocks the buffer.

Indicates that the buffer is free.

参见
Lock

该类的文档由以下文件生成: