r.SplineMesh.SceneTextures

r.SplineMesh.SceneTextures

#Overview

name: r.SplineMesh.SceneTextures

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

It is referenced in 2 C++ source files.

#Summary

#References in C++ code

#Callsites

This variable is referenced in the following C++ source code:

#Loc: <Workspace>/Engine/Source/Runtime/Renderer/Private/SplineMeshSceneResources.cpp:14

Scope: file

Source code excerpt:


static TAutoConsoleVariable<int32> CVarSplineMeshSceneTextures(
	TEXT("r.SplineMesh.SceneTextures"),
	1,
	TEXT("Whether to cache all spline mesh splines in the scene to textures (performance optimization)."),
	ECVF_ReadOnly
);

static TAutoConsoleVariable<int32> CVarSplineMeshSceneTexturesForceUpdate(

#Loc: <Workspace>/Engine/Source/Runtime/RenderCore/Private/RenderUtils.cpp:1646

Scope (from outer to inner):

file
function     bool UseSplineMeshSceneResources

Source code excerpt:

	if (UseGPUScene(Platform) && !IsMobilePlatform(Platform))
	{
		static FShaderPlatformCachedIniValue<int32> CVar(TEXT("r.SplineMesh.SceneTextures"));
		return CVar.Get(Platform) > 0;
	}

	return false;
}