r.InstanceCulling.AllowInstanceOrderPreservation
r.InstanceCulling.AllowInstanceOrderPreservation
#Overview
name: r.InstanceCulling.AllowInstanceOrderPreservation
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Whether or not to allow instances to preserve instance draw order using GPU compaction.
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/InstanceCullingContext.cpp:40
Scope: file
Source code excerpt:
static int32 GInstanceCullingAllowOrderPreservation = 1;
static FAutoConsoleVariableRef CVarInstanceCullingAllowOrderPreservation(
TEXT("r.InstanceCulling.AllowInstanceOrderPreservation"),
GInstanceCullingAllowOrderPreservation,
TEXT("Whether or not to allow instances to preserve instance draw order using GPU compaction."),
ECVF_RenderThreadSafe);
IMPLEMENT_STATIC_UNIFORM_BUFFER_SLOT(InstanceCullingUbSlot);
IMPLEMENT_STATIC_UNIFORM_BUFFER_STRUCT(FInstanceCullingGlobalUniforms, "InstanceCulling", InstanceCullingUbSlot);