UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SlateInvalidationRoot.cpp File Reference

Classes

struct  UE::Slate::Private::FSlateInvalidationReindexHeap
 
struct  UE::Slate::Private::FSlateInvalidationReindexHeap::FWidgetOrderGreater
 
struct  UE::Slate::Private::FSlateInvalidationPaintFastPathContext
 

Namespaces

namespace  UE
 
namespace  UE::Slate
 
namespace  UE::Slate::Private
 

Functions

 CSV_DECLARE_CATEGORY_MODULE_EXTERN (SLATECORE_API, Slate)
 
bool UE::Slate::Private::EInvalidateWidgetReason_HasPreUpdateFlag (EInvalidateWidgetReason InvalidateReason)
 
bool UE::Slate::Private::EInvalidateWidgetReason_HasPostUpdateFlag (EInvalidateWidgetReason InvalidateReason)
 

Variables

int32 GSlateInvalidationWidgetListMaxArrayElements = 64
 
FAutoConsoleVariableRef CVarSlateInvalidationWidgetListMaxArrayElements (TEXT("Slate.InvalidationList.MaxArrayElements"), GSlateInvalidationWidgetListMaxArrayElements, TEXT("With the invalidation system, the preferred size of the elements array."))
 
int32 GSlateInvalidationWidgetListNumberElementLeftBeforeSplitting = 40
 
FAutoConsoleVariableRef CVarSlateInvalidationWidgetListNumElementLeftBeforeSplitting (TEXT("Slate.InvalidationList.NumberElementLeftBeforeSplitting"), GSlateInvalidationWidgetListNumberElementLeftBeforeSplitting, TEXT("With the invalidation system, when splitting, only split the array when the number of element left is under X."))
 
bool GSlateInvalidationEnableReindexLayerId = true
 
FAutoConsoleVariableRef CVarSlateInvalidationEnableReindexLayerId (TEXT("Slate.InvalidationList.EnableReindexLayerId"), GSlateInvalidationEnableReindexLayerId, TEXT("With invalidation system, when a painted widget returns a bigger LayerId that it used to, re-index the other widgets."))
 
constexpr EInvalidateWidgetReason UE::Slate::Private::PreInvalidationReason
 
constexpr EInvalidateWidgetReason UE::Slate::Private::PostInvalidationReason
 
FSlateInvalidationRootList GSlateInvalidationRootListInstance
 

Function Documentation

◆ CSV_DECLARE_CATEGORY_MODULE_EXTERN()

CSV_DECLARE_CATEGORY_MODULE_EXTERN ( SLATECORE_API  ,
Slate   
)

Variable Documentation

◆ CVarSlateInvalidationEnableReindexLayerId

FAutoConsoleVariableRef CVarSlateInvalidationEnableReindexLayerId(TEXT("Slate.InvalidationList.EnableReindexLayerId"), GSlateInvalidationEnableReindexLayerId, TEXT("With invalidation system, when a painted widget returns a bigger LayerId that it used to, re-index the other widgets.")) ( TEXT("Slate.InvalidationList.EnableReindexLayerId")  ,
GSlateInvalidationEnableReindexLayerId  ,
TEXT("With invalidation system, when a painted widget returns a bigger LayerId that it used to, re-index the other widgets."  
)

◆ CVarSlateInvalidationWidgetListMaxArrayElements

FAutoConsoleVariableRef CVarSlateInvalidationWidgetListMaxArrayElements(TEXT("Slate.InvalidationList.MaxArrayElements"), GSlateInvalidationWidgetListMaxArrayElements, TEXT("With the invalidation system, the preferred size of the elements array.")) ( TEXT("Slate.InvalidationList.MaxArrayElements")  ,
GSlateInvalidationWidgetListMaxArrayElements  ,
TEXT("With the invalidation system, the preferred size of the elements array."  
)

◆ CVarSlateInvalidationWidgetListNumElementLeftBeforeSplitting

FAutoConsoleVariableRef CVarSlateInvalidationWidgetListNumElementLeftBeforeSplitting(TEXT("Slate.InvalidationList.NumberElementLeftBeforeSplitting"), GSlateInvalidationWidgetListNumberElementLeftBeforeSplitting, TEXT("With the invalidation system, when splitting, only split the array when the number of element left is under X.")) ( TEXT("Slate.InvalidationList.NumberElementLeftBeforeSplitting")  ,
GSlateInvalidationWidgetListNumberElementLeftBeforeSplitting  ,
TEXT("With the invalidation system, when splitting, only split the array when the number of element left is under X."  
)

◆ GSlateInvalidationEnableReindexLayerId

bool GSlateInvalidationEnableReindexLayerId = true

◆ GSlateInvalidationRootListInstance

FSlateInvalidationRootList GSlateInvalidationRootListInstance

◆ GSlateInvalidationWidgetListMaxArrayElements

int32 GSlateInvalidationWidgetListMaxArrayElements = 64

◆ GSlateInvalidationWidgetListNumberElementLeftBeforeSplitting

int32 GSlateInvalidationWidgetListNumberElementLeftBeforeSplitting = 40