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

Represents a top level window and its draw elements. 更多...

#include <DrawElements.h>

+ 类 FSlateWindowElementList 继承关系图:

类

struct  FDeferredPaint
 Some widgets may want to paint their children after after another, loosely-related widget finished painting. 更多...
 

Public 成员函数

void AddItem (const FSlateDrawElement &InDrawElement)
 Add a draw element to the list 更多...
 
SLATECORE_API FSlateDrawElement & AddUninitialized ()
 Creates an uninitialized draw element
 
SLATECORE_API FSlateWindowElementList (const TSharedPtr< SWindow > &InPaintWindow)
 Construct a new list of elements with which to paint a window. 更多...
 
SWindow * GetPaintWindow () const
 
SWindow * GetRenderWindow () const
 
const FSlateDrawElementArray & GetUncachedDrawElements () const
 
FORCEINLINE TSharedPtr< SWindow > GetWindow () const
 
FVector2D GetWindowSize () const
 
SLATECORE_API FSlateCachedElementsHandle PopPaintingWidget (const SWidget &CurrentWidget)
 Pops the current painted widget off the stack 更多...
 
void PushCachedElementData (FSlateCachedElementData &CachedElementData)
 Pushes cached element data onto the stack. 更多...
 
SLATECORE_API void PushPaintingWidget (const SWidget &CurrentWidget, int32 StartingLayerId, FSlateCachedElementsHandle &CurrentCacheHandle)
 Pushes the current widget that is painting onto the widget stack so we know what elements belong to each widget This information is used for caching later.
 
SLATECORE_API void ResetElementList ()
 Remove all the elements from this draw list.
 

友元

class FSlateElementBatcher
 

详细描述

Represents a top level window and its draw elements.

构造及析构函数说明

◆ FSlateWindowElementList()

SLATECORE_API FSlateWindowElementList::FSlateWindowElementList ( const TSharedPtr< SWindow > &  InPaintWindow)
explicit

Construct a new list of elements with which to paint a window.

参数
InPaintWindowThe window that owns the widgets being painted. This is almost most always the same window that is being rendered to
InRenderWindowThe window that we will be rendering to.

成员函数说明

◆ AddItem()

void FSlateWindowElementList::AddItem ( const FSlateDrawElement &  InDrawElement)
inline

Add a draw element to the list

参数
InDrawElementThe draw element to add

◆ GetPaintWindow()

SWindow * FSlateWindowElementList::GetPaintWindow ( ) const
inline
返回
Get the window that we will be painting

◆ GetRenderWindow()

SWindow * FSlateWindowElementList::GetRenderWindow ( ) const
inline
返回
Get the window that we will be rendering to. Unless you are a slate renderer you probably want to use GetPaintWindow()

◆ GetUncachedDrawElements()

const FSlateDrawElementArray & FSlateWindowElementList::GetUncachedDrawElements ( ) const
inline
返回
Get the draw elements that we want to render into this window

◆ GetWindow()

FORCEINLINE TSharedPtr< SWindow > FSlateWindowElementList::GetWindow ( ) const
inline
返回
Get the window that we will be painting

◆ GetWindowSize()

FVector2D FSlateWindowElementList::GetWindowSize ( ) const
inline
返回
Get the window size that we will be painting

◆ PopPaintingWidget()

SLATECORE_API FSlateCachedElementsHandle FSlateWindowElementList::PopPaintingWidget ( const SWidget &  CurrentWidget)

Pops the current painted widget off the stack

返回
true if an element was added while the widget was pushed

◆ PushCachedElementData()

void FSlateWindowElementList::PushCachedElementData ( FSlateCachedElementData &  CachedElementData)

Pushes cached element data onto the stack.

Any draw elements cached after will use this cached element data until popped


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