r.InstanceCulling.AllowBatchedBuildRenderingCommands
r.InstanceCulling.AllowBatchedBuildRenderingCommands
#Overview
name: r.InstanceCulling.AllowBatchedBuildRenderingCommands
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Whether to allow batching BuildRenderingCommands for GPU instance culling
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/InstanceCulling/InstanceCullingManager.cpp:16
Scope: file
Source code excerpt:
static int32 GAllowBatchedBuildRenderingCommands = 1;
static FAutoConsoleVariableRef CVarAllowBatchedBuildRenderingCommands(
TEXT("r.InstanceCulling.AllowBatchedBuildRenderingCommands"),
GAllowBatchedBuildRenderingCommands,
TEXT("Whether to allow batching BuildRenderingCommands for GPU instance culling"),
ECVF_RenderThreadSafe);
FInstanceCullingManager::FInstanceCullingManager(FSceneUniformBuffer& SceneUB, bool bInIsEnabled, FRDGBuilder& GraphBuilder)
: SceneUB(SceneUB), bIsEnabled(bInIsEnabled)