r.RayTracing.Nanite.BLASScratchSizeMultipleMB

r.RayTracing.Nanite.BLASScratchSizeMultipleMB

#Overview

name: r.RayTracing.Nanite.BLASScratchSizeMultipleMB

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

It is referenced in 1 C++ source file.

#Summary

#References in C++ code

#Callsites

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

#Loc: <Workspace>/Engine/Source/Runtime/Renderer/Private/Nanite/NaniteRayTracing.cpp:93

Scope: file

Source code excerpt:

static int32 GNaniteRayTracingBLASScratchSizeMultipleMB = 64;
static FAutoConsoleVariableRef CVarNaniteRayTracingBLASScratchSizeMultipleMBMB(
	TEXT("r.RayTracing.Nanite.BLASScratchSizeMultipleMB"),
	GNaniteRayTracingBLASScratchSizeMultipleMB,
	TEXT("Round the size of the BLAS build scratch buffer to be a multiple of this value.\n")
	TEXT("This helps maintain consistent memory usage and prevent memory usage spikes.\n")
	TEXT("Default = 64 MB."),
	ECVF_RenderThreadSafe
);