r.RayTracing.Nanite.MaxBuiltPrimitivesPerFrame
r.RayTracing.Nanite.MaxBuiltPrimitivesPerFrame
#Overview
name: r.RayTracing.Nanite.MaxBuiltPrimitivesPerFrame
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Limit number of BLAS built per frame based on a budget defined in terms of maximum number of triangles.
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:75
Scope: file
Source code excerpt:
static int32 GNaniteRayTracingMaxBuiltPrimitivesPerFrame = 8 * 1024 * 1024;
static FAutoConsoleVariableRef CVarNaniteRayTracingMaxBuiltPrimitivesPerFrame(
TEXT("r.RayTracing.Nanite.MaxBuiltPrimitivesPerFrame"),
GNaniteRayTracingMaxBuiltPrimitivesPerFrame,
TEXT("Limit number of BLAS built per frame based on a budget defined in terms of maximum number of triangles."),
ECVF_RenderThreadSafe
);
static int32 GNaniteRayTracingMaxStagingBufferSizeMB = 1024;