r.RayTracing.Enable
r.RayTracing.Enable
#Overview
name: r.RayTracing.Enable
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Runtime toggle for switching raytracing on/off (experimental).
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/Engine/Private/Rendering/RayTracingGeometryManager.cpp:16
Scope: file
Source code excerpt:
static bool bHasRayTracingEnableChanged = false;
static TAutoConsoleVariable<int32> CVarRayTracingEnable(
TEXT("r.RayTracing.Enable"),
1,
TEXT("Runtime toggle for switching raytracing on/off (experimental)."),
FConsoleVariableDelegate::CreateLambda([](IConsoleVariable* InVariable)
{
FGlobalComponentRecreateRenderStateContext Context;
ENQUEUE_RENDER_COMMAND(RayTracingToggledCmd)(