Navigation
Unreal Engine C++ API Reference > Runtime > SlateCore > Rendering
References
Module | SlateCore |
Header | /Engine/Source/Runtime/SlateCore/Public/Rendering/DrawElements.h |
Include | #include "Rendering/DrawElements.h" |
Syntax
struct FSlateCachedElementData
Remarks
Top level class responsible for cached elements within a particular invalidation root. Equivalent to the plain FSlateBatchData in that it manages multiple renderbatches, element lists (Per widget), & new element lists (Per invalidated widgets).
Note: Just as each window may have multiple invalidation roots, each window element list may have multiple 'FSlateCachedElementData' for each root
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
FSlateCachedElementsHandle | Create a new CachedElementList, occurs when adding a cached element whose top level draw widget is not already part of some cache | |
![]() |
TSlateDrawElement< ElementType > & | AddCachedElement
(
FSlateCachedElementsHandle& CacheHandle, |
|
![]() |
FSlateRenderBatch & | AddCachedRenderBatch
(
FSlateRenderBatch&& NewBatch, |
|
![]() |
void | AddReferencedObjects
(
FReferenceCollector& Collector |
|
![]() |
void | ||
![]() |
void | Empty () |
Reset all cached data, except num elements, call EmptyCachedNumElements for that |
![]() |
FSlateCachedClipState & | FindOrAddCachedClipState
(
const FSlateClippingState* RefClipState |
|
![]() ![]() |
const TSparseArray< FSlateRenderBatch > & | ||
![]() ![]() |
const TArray< TSharedPtr< FSlateCachedElementList > > & | ||
![]() ![]() |
const FSlateClippingState * | GetClipStateFromParent
(
const FSlateClippingManager& ParentClipManager |
|
![]() ![]() |
TArrayView< FSlateCachedElementList *const > | ||
![]() |
void | RemoveCachedRenderBatches
(
const TArray< int32 >& CachedRenderBatchIndices |
|
![]() |
void | ValidateWidgetOwner
(
TSharedPtr< FSlateCachedElementList > List, |