r.Nanite.AllowWPODistanceDisable

r.Nanite.AllowWPODistanceDisable

#Overview

name: r.Nanite.AllowWPODistanceDisable

This variable is created as a Console Variable (cvar).

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/NaniteDrawList.cpp:19

Scope: file

Source code excerpt:

int32 GNaniteAllowWPODistanceDisable = 1;
static FAutoConsoleVariableRef CVarNaniteAllowWPODistanceDisable(
	TEXT("r.Nanite.AllowWPODistanceDisable"),
	GNaniteAllowWPODistanceDisable,
	TEXT("Whether or not to allow disabling World Position Offset for Nanite instances at a distance from the camera."),
	ECVF_ReadOnly
);

FMeshDrawCommand& FNaniteDrawListContext::AddCommand(FMeshDrawCommand& Initializer, uint32 NumElements)