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.
|
explicit |
Construct a new list of elements with which to paint a window.
| InPaintWindow | The window that owns the widgets being painted. This is almost most always the same window that is being rendered to |
| InRenderWindow | The window that we will be rendering to. |
|
inline |
Add a draw element to the list
| InDrawElement | The draw element to add |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| SLATECORE_API FSlateCachedElementsHandle FSlateWindowElementList::PopPaintingWidget | ( | const SWidget & | CurrentWidget | ) |
Pops the current painted widget off the stack
| 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