r.Lumen.IrradianceFieldGather.RadianceCache.Stats

r.Lumen.IrradianceFieldGather.RadianceCache.Stats

#Overview

name: r.Lumen.IrradianceFieldGather.RadianceCache.Stats

This variable is created as a Console Variable (cvar).

It is referenced in 3 C++ source files.

#Summary

#Usage in the C++ source code

The purpose of r.Lumen.IrradianceFieldGather.RadianceCache.Stats is to control whether GPU statistics for the Radiance Cache update in Lumen’s Irradiance Field gathering process are printed out.

Regarding the associated variable GLumenIrradianceFieldStats:

#References in C++ code

#Callsites

This variable is referenced in the following C++ source code:

#Loc: <Workspace>/Engine/Source/Runtime/Renderer/Private/Lumen/LumenIrradianceFieldGather.cpp:119

Scope: file

Source code excerpt:

int32 GLumenIrradianceFieldStats = 0;
FAutoConsoleVariableRef CVarLumenIrradianceFieldStats(
	TEXT("r.Lumen.IrradianceFieldGather.RadianceCache.Stats"),
	GLumenIrradianceFieldStats,
	TEXT("GPU print out Radiance Cache update stats."),
	ECVF_RenderThreadSafe
);

namespace LumenIrradianceFieldGather

#Associated Variable and Callsites

This variable is associated with another variable named GLumenIrradianceFieldStats. They share the same value. See the following C++ source code.

#Loc: <Workspace>/Engine/Source/Runtime/Renderer/Private/Lumen/LumenIrradianceFieldGather.cpp:117

Scope: file

Source code excerpt:

);

int32 GLumenIrradianceFieldStats = 0;
FAutoConsoleVariableRef CVarLumenIrradianceFieldStats(
	TEXT("r.Lumen.IrradianceFieldGather.RadianceCache.Stats"),
	GLumenIrradianceFieldStats,
	TEXT("GPU print out Radiance Cache update stats."),
	ECVF_RenderThreadSafe
);

namespace LumenIrradianceFieldGather
{

#Loc: <Workspace>/Engine/Source/Runtime/Renderer/Private/Lumen/LumenIrradianceFieldGather.cpp:143

Scope (from outer to inner):

file
namespace    LumenIrradianceFieldGather
function     LumenRadianceCache::FRadianceCacheInputs SetupRadianceCacheInputs

Source code excerpt:

		Parameters.OcclusionProbeResolution = GLumenIrradianceFieldProbeOcclusionResolution;
		Parameters.NumProbesToTraceBudget = GLumenIrradianceFieldNumProbesToTraceBudget;
		Parameters.RadianceCacheStats = GLumenIrradianceFieldStats;
		return Parameters;
	}
}

class FMarkRadianceProbesUsedByGBufferCS : public FGlobalShader
{