r.MrMesh.BrickCullingDebugState
r.MrMesh.BrickCullingDebugState
#Overview
name: r.MrMesh.BrickCullingDebugState
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
MR Mesh brick culling debug state: 0=off, 1=on, 2=paused
It is referenced in 3
C++ source files.
#Summary
#Usage in the C++ source code
The purpose of r.MrMesh.BrickCulling
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/MRMesh/Private/MRMeshComponent.cpp:45
Scope: file
Source code excerpt:
static TAutoConsoleVariable<int32> CVarPauseMRMeshBrickCulling(
TEXT("r.MrMesh.BrickCullingDebugState"),
static_cast<int32>(ECullingDebugState::Off),
TEXT("MR Mesh brick culling debug state: 0=off, 1=on, 2=paused"));
#endif //DEBUG_BRICK_CULLING
class FMRMeshVertexResourceArray : public FResourceArrayInterface
{
#Associated Variable and Callsites
This variable is associated with another variable named CVarPauseMRMeshBrickCulling
. They share the same value. See the following C++ source code.
#Loc: <Workspace>/Engine/Source/Runtime/MRMesh/Private/MRMeshComponent.cpp:44
Scope: file
Source code excerpt:
};
static TAutoConsoleVariable<int32> CVarPauseMRMeshBrickCulling(
TEXT("r.MrMesh.BrickCullingDebugState"),
static_cast<int32>(ECullingDebugState::Off),
TEXT("MR Mesh brick culling debug state: 0=off, 1=on, 2=paused"));
#endif //DEBUG_BRICK_CULLING
class FMRMeshVertexResourceArray : public FResourceArrayInterface
#Loc: <Workspace>/Engine/Source/Runtime/MRMesh/Private/MRMeshComponent.cpp:382
Scope (from outer to inner):
file
class class FMRMeshProxy final : public FPrimitiveSceneProxy
function virtual void GetDynamicMeshElements
Source code excerpt:
TMap<IMRMesh::FBrickId, TTuple<FBox, bool>> NewVisDataByBrickId;
ECullingDebugState CullingDebugState =
static_cast<ECullingDebugState>(CVarPauseMRMeshBrickCulling.GetValueOnRenderThread());
#endif //DEBUG_BRICK_CULLING
// Iterate over sections
for (const FMRMeshProxySection* Section : ProxySections)
{
if (Section != nullptr)