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

Classes

struct  FSplineBuilder
 
struct  FLineBuilder
 

Namespaces

namespace  SlateElementBatcher
 

Macros

#define ENABLE_SDF_DEBUG_VISUAL   (!UE_BUILD_SHIPPING)
 
#define MAX_VERT_ARRAY_RECYCLE   (200)
 
#define MAX_INDEX_ARRAY_RECYCLE   (500)
 

Enumerations

enum class  ESdfTextDebugVisual { Disabled = 0 , Raw = 1 , Color = 2 , Boxes = 3 }
 

Functions

 CSV_DECLARE_CATEGORY_MODULE_EXTERN (SLATECORE_API, Slate)
 
 DECLARE_CYCLE_STAT (TEXT("Slate RT: Create Batches"), STAT_SlateRTCreateBatches, STATGROUP_Slate)
 
 DEFINE_STAT (STAT_SlateAddElements)
 
 DEFINE_STAT (STAT_SlateElements)
 
 DEFINE_STAT (STAT_SlateElements_Box)
 
 DEFINE_STAT (STAT_SlateElements_Border)
 
 DEFINE_STAT (STAT_SlateElements_Text)
 
 DEFINE_STAT (STAT_SlateElements_ShapedText)
 
 DEFINE_STAT (STAT_SlateElements_Line)
 
 DEFINE_STAT (STAT_SlateElements_Other)
 
 DEFINE_STAT (STAT_SlateInvalidation_RecachedElements)
 
FORCEINLINE void IndexQuad (FSlateRenderBatch &RenderBatch, int32 TopLeft, int32 TopRight, int32 BottomRight, int32 BottomLeft)
 

Variables

int32 GSlateFeathering = 0
 
FAutoConsoleVariableRef CVarSlateSdfTextDebugVisual (TEXT("UI.SlateSDFText.DebugVisual"), SdfTextDebugVisual, TEXT("Slate SDF text debug visuals - 0: Disabled, 1: Raw SDF, 2: Text color, 3: Colored boxes."))
 

Macro Definition Documentation

◆ ENABLE_SDF_DEBUG_VISUAL

#define ENABLE_SDF_DEBUG_VISUAL   (!UE_BUILD_SHIPPING)

◆ MAX_INDEX_ARRAY_RECYCLE

#define MAX_INDEX_ARRAY_RECYCLE   (500)

◆ MAX_VERT_ARRAY_RECYCLE

#define MAX_VERT_ARRAY_RECYCLE   (200)

Enumeration Type Documentation

◆ ESdfTextDebugVisual

enum class ESdfTextDebugVisual
strong
Enumerator
Disabled 
Raw 
Color 
Boxes 

Function Documentation

◆ CSV_DECLARE_CATEGORY_MODULE_EXTERN()

CSV_DECLARE_CATEGORY_MODULE_EXTERN ( SLATECORE_API  ,
Slate   
)

◆ DECLARE_CYCLE_STAT()

DECLARE_CYCLE_STAT ( TEXT("Slate RT: Create Batches" ,
STAT_SlateRTCreateBatches  ,
STATGROUP_Slate   
)

◆ DEFINE_STAT() [1/9]

DEFINE_STAT ( STAT_SlateAddElements  )

◆ DEFINE_STAT() [2/9]

DEFINE_STAT ( STAT_SlateElements  )

◆ DEFINE_STAT() [3/9]

DEFINE_STAT ( STAT_SlateElements_Border  )

◆ DEFINE_STAT() [4/9]

DEFINE_STAT ( STAT_SlateElements_Box  )

◆ DEFINE_STAT() [5/9]

DEFINE_STAT ( STAT_SlateElements_Line  )

◆ DEFINE_STAT() [6/9]

DEFINE_STAT ( STAT_SlateElements_Other  )

◆ DEFINE_STAT() [7/9]

DEFINE_STAT ( STAT_SlateElements_ShapedText  )

◆ DEFINE_STAT() [8/9]

DEFINE_STAT ( STAT_SlateElements_Text  )

◆ DEFINE_STAT() [9/9]

◆ IndexQuad()

FORCEINLINE void IndexQuad ( FSlateRenderBatch RenderBatch,
int32  TopLeft,
int32  TopRight,
int32  BottomRight,
int32  BottomLeft 
)

Variable Documentation

◆ CVarSlateSdfTextDebugVisual

FAutoConsoleVariableRef CVarSlateSdfTextDebugVisual(TEXT("UI.SlateSDFText.DebugVisual"), SdfTextDebugVisual, TEXT("Slate SDF text debug visuals - 0: Disabled, 1: Raw SDF, 2: Text color, 3: Colored boxes.")) ( TEXT("UI.SlateSDFText.DebugVisual")  ,
SdfTextDebugVisual  ,
TEXT("Slate SDF text debug visuals - 0: Disabled, 1: Raw SDF, 2: Text color, 3: Colored boxes."  
)

◆ GSlateFeathering

int32 GSlateFeathering = 0