UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FShaderCompileWorkerDiagnostics Struct Reference

#include <ShaderCompilerCore.h>

Public Attributes

int32 ErrorCode = 0
 
double EntryPointTimestamp = 0.0
 
double BatchPreparationTime = 0.0
 
double BatchProcessTime = 0.0
 
int32 BatchIndex = 0
 

Friends

FArchiveoperator<< (FArchive &Ar, FShaderCompileWorkerDiagnostics &Output)
 

Detailed Description

Serializable structure of diagnostic output from a SCW process. Include error code and timing statistics for the duration of a job batch.

Friends And Related Symbol Documentation

◆ operator<<

FArchive & operator<< ( FArchive Ar,
FShaderCompileWorkerDiagnostics Output 
)
friend

Member Data Documentation

◆ BatchIndex

int32 FShaderCompileWorkerDiagnostics::BatchIndex = 0

Index of the batch that was processed by the same worker process. Helps diagnose how many batches a worker has processed.

◆ BatchPreparationTime

double FShaderCompileWorkerDiagnostics::BatchPreparationTime = 0.0

Time in seconds before this batch was being processed. This either starts from when the process launched or since the last batch was finished.

◆ BatchProcessTime

double FShaderCompileWorkerDiagnostics::BatchProcessTime = 0.0

Time in seconds it took the ShaderCompileWorker to process the entire job batch.

◆ EntryPointTimestamp

double FShaderCompileWorkerDiagnostics::EntryPointTimestamp = 0.0

Timestamp when the ShaderCompileWorker entered the main entry point.

◆ ErrorCode

int32 FShaderCompileWorkerDiagnostics::ErrorCode = 0

Error code return from a ShaderCompileWorker process that terminated abnormally (not for shader syntax/semantic errors). See FSCWErrorCode::ECode for valid values.


The documentation for this struct was generated from the following file: