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 FSlateCachedElementList
Remarks
Cached list of elements corresponding to a particular widget. This class is used as an interfaces for renderbatches to interact with cached rendering data with In particular verticies and indicies
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TArray< int32 > | CachedRenderBatchIndices | |
![]() |
FSlateCachedFastPathRenderingData * | CachedRenderingData | |
![]() |
FSlateDrawElementMap | DrawElements | List of source draw elements to create batches from |
![]() |
const SWidget * | OwningWidget | The widget whose draw elements are in this list |
![]() |
FSlateCachedElementData * | ParentData |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FSlateCachedElementList
(
FSlateCachedElementData* InParentData, |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddCachedClipState
(
FSlateCachedClipState& ClipStateToCache |
|
![]() |
void | AddReferencedObjects
(
FReferenceCollector& Collector |
|
![]() |
FSlateRenderBatch & | AddRenderBatch
(
int32 InLayer, |
|
![]() |
void | ||
![]() |
FSlateCachedElementData * | ||
![]() |
void | Initialize () |
|
![]() |
bool | IsEmpty () |
Returns true if all typed containers are empty, else false |
![]() |
int32 | NumElements () |
Returns number of elements in all containers summed |