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

Go to the source code of this file.

Classes

struct  FVisualizeComplexityInputs
 

Functions

float GetMaxShaderComplexityCount (ERHIFeatureLevel::Type InFeatureType)
 
FScreenPassTexture AddVisualizeComplexityPass (FRDGBuilder &GraphBuilder, const FViewInfo &View, const FVisualizeComplexityInputs &Inputs)
 

Variables

const uint32 MaxNumShaderComplexityColors = 11
 
const float NormalizedQuadComplexityValue = 1.f / 16.f
 

Function Documentation

◆ AddVisualizeComplexityPass()

FScreenPassTexture AddVisualizeComplexityPass ( FRDGBuilder GraphBuilder,
const FViewInfo View,
const FVisualizeComplexityInputs Inputs 
)

◆ GetMaxShaderComplexityCount()

float GetMaxShaderComplexityCount ( ERHIFeatureLevel::Type  InFeatureType)

Variable Documentation

◆ MaxNumShaderComplexityColors

const uint32 MaxNumShaderComplexityColors = 11

The number of shader complexity colors from the engine ini that will be passed to the shader. Changing this requires a recompile of the FShaderComplexityApplyPS.

◆ NormalizedQuadComplexityValue

const float NormalizedQuadComplexityValue = 1.f / 16.f