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

Classes

struct  FShaderCompilerJobMemoryLimitInfo
 
struct  FShaderCompileWorkerInfo
 

Functions

 TRACE_DECLARE_MEMORY_COUNTER (AsyncCompilationSCWMemory, TEXT("AsyncCompilation/SCWMemory"))
 
void GetShaderCompilerCurrentMemoryLimits (FShaderCompilerMemoryLimits &Limits)
 
void SetShaderCompilerTargetMemoryLimitInMiB (int32 NewLimit)
 

Variables

float GShaderCompilerTooLongIOThresholdSeconds = 0.3
 
int32 GShaderCompilerCurrentMemoryLimitInMiB = -1
 
int32 GShaderCompilerConfiguredMemoryLimitInMiB = 0
 
int32 GShaderWorkerStateChangeHeartbeat = 15 * 60
 
bool GShaderCompilerDumpWorkerDiagnostics
 

Function Documentation

◆ GetShaderCompilerCurrentMemoryLimits()

void GetShaderCompilerCurrentMemoryLimits ( FShaderCompilerMemoryLimits Limits)

◆ SetShaderCompilerTargetMemoryLimitInMiB()

void SetShaderCompilerTargetMemoryLimitInMiB ( int32  NewLimit)

◆ TRACE_DECLARE_MEMORY_COUNTER()

TRACE_DECLARE_MEMORY_COUNTER ( AsyncCompilationSCWMemory  ,
TEXT("AsyncCompilation/SCWMemory"  
)

Variable Documentation

◆ GShaderCompilerConfiguredMemoryLimitInMiB

int32 GShaderCompilerConfiguredMemoryLimitInMiB = 0

◆ GShaderCompilerCurrentMemoryLimitInMiB

int32 GShaderCompilerCurrentMemoryLimitInMiB = -1

◆ GShaderCompilerDumpWorkerDiagnostics

bool GShaderCompilerDumpWorkerDiagnostics
extern

◆ GShaderCompilerTooLongIOThresholdSeconds

float GShaderCompilerTooLongIOThresholdSeconds = 0.3

◆ GShaderWorkerStateChangeHeartbeat

int32 GShaderWorkerStateChangeHeartbeat = 15 * 60