r.AndroidDisableThreadedRenderingFirstLoad

r.AndroidDisableThreadedRenderingFirstLoad

#Overview

name: r.AndroidDisableThreadedRenderingFirstLoad

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/Core/Private/HAL/ConsoleManager.cpp:4135

Scope: file

Source code excerpt:


static TAutoConsoleVariable<int32> CVarDisableThreadedRenderingFirstLoad(
	TEXT("r.AndroidDisableThreadedRenderingFirstLoad"),
	0,
	TEXT("Sets whether or not to allow threaded rendering for a particular Android device profile on the initial load.\n"
		 "	0 = Allow threaded rendering on the initial load [default]\n"
		 "	1 = Disable threaded rendering on the initial load"),
	ECVF_ReadOnly);

#Loc: <Workspace>/Engine/Source/Runtime/MoviePlayer/Private/DefaultGameMoviePlayer.cpp:427

Scope (from outer to inner):

file
function     bool FDefaultGameMoviePlayer::CanPlayMovie

Source code excerpt:

bool FDefaultGameMoviePlayer::CanPlayMovie() const
{
	const IConsoleVariable *const CVar = IConsoleManager::Get().FindConsoleVariable(TEXT("r.AndroidDisableThreadedRenderingFirstLoad"));
	if (CVar && CVar->GetInt() != 0)
	{
		return (GEngine && GEngine->IsInitialized());
	}
	return true;
}