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

#include <ShaderCompiler.h>

Public Member Functions

FShaderTimingsoperator+= (const FShaderTimings &Other)
 

Public Attributes

float MinCompileTime = 0.0f
 
float MaxCompileTime = 0.0f
 
float TotalCompileTime = 0.0f
 
float TotalPreprocessTime = 0.0f
 
int32 NumCompiled = 0
 
float AverageCompileTime = 0.0f
 

Detailed Description

Structure used to describe compiling time of a shader type (for all the instances of it that we have seen). Can be dumped to CSV file via 'r.ShaderCompiler.DumpShaderTimeStats' CVar.

Member Function Documentation

◆ operator+=()

FShaderTimings & FShaderTimings::operator+= ( const FShaderTimings Other)
inline

Member Data Documentation

◆ AverageCompileTime

float FShaderTimings::AverageCompileTime = 0.0f

◆ MaxCompileTime

float FShaderTimings::MaxCompileTime = 0.0f

◆ MinCompileTime

float FShaderTimings::MinCompileTime = 0.0f

◆ NumCompiled

int32 FShaderTimings::NumCompiled = 0

◆ TotalCompileTime

float FShaderTimings::TotalCompileTime = 0.0f

◆ TotalPreprocessTime

float FShaderTimings::TotalPreprocessTime = 0.0f

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