![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <DrawElements.h>
Public Member Functions | |
| FSlateCachedElementList (FSlateCachedElementData *InParentData, const SWidget *InWidget) | |
| void | Initialize () |
| SLATECORE_API | ~FSlateCachedElementList () |
| void | ClearCachedElements () |
| FSlateCachedElementData * | GetOwningData () |
| FSlateRenderBatch & | AddRenderBatch (int32 InLayer, const FShaderParams &InShaderParams, const FSlateShaderResource *InResource, ESlateDrawPrimitive InPrimitiveType, ESlateShader InShaderType, ESlateDrawEffect InDrawEffects, ESlateBatchDrawFlag InDrawFlags, int8 SceneIndex) |
| void | AddCachedClipState (FSlateCachedClipState &ClipStateToCache) |
| void | AddReferencedObjects (FReferenceCollector &Collector) |
| SLATECORE_API bool | IsEmpty () |
| SLATECORE_API int32 | NumElements () |
Public Attributes | |
| FSlateDrawElementMap | DrawElements |
| TArray< int32 > | CachedRenderBatchIndices |
| const SWidget * | OwningWidget |
| FSlateCachedElementData * | ParentData |
| FSlateCachedFastPathRenderingData * | CachedRenderingData |
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
|
inline |
| FSlateCachedElementList::~FSlateCachedElementList | ( | ) |
| void FSlateCachedElementList::AddCachedClipState | ( | FSlateCachedClipState & | ClipStateToCache | ) |
| void FSlateCachedElementList::AddReferencedObjects | ( | FReferenceCollector & | Collector | ) |
| FSlateRenderBatch & FSlateCachedElementList::AddRenderBatch | ( | int32 | InLayer, |
| const FShaderParams & | InShaderParams, | ||
| const FSlateShaderResource * | InResource, | ||
| ESlateDrawPrimitive | InPrimitiveType, | ||
| ESlateShader | InShaderType, | ||
| ESlateDrawEffect | InDrawEffects, | ||
| ESlateBatchDrawFlag | InDrawFlags, | ||
| int8 | SceneIndex | ||
| ) |
| void FSlateCachedElementList::ClearCachedElements | ( | ) |
|
inline |
|
inline |
| bool FSlateCachedElementList::IsEmpty | ( | ) |
Returns true if all typed containers are empty, else false
| int32 FSlateCachedElementList::NumElements | ( | ) |
Returns number of elements in all containers summed
| FSlateCachedFastPathRenderingData* FSlateCachedElementList::CachedRenderingData |
| FSlateDrawElementMap FSlateCachedElementList::DrawElements |
List of source draw elements to create batches from
| const SWidget* FSlateCachedElementList::OwningWidget |
The widget whose draw elements are in this list
| FSlateCachedElementData* FSlateCachedElementList::ParentData |