VULKAN_SIMULATE_LOST_SURFACE

VULKAN_SIMULATE_LOST_SURFACE

#Overview

name: VULKAN_SIMULATE_LOST_SURFACE

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/VulkanRHI/Private/VulkanSwapChain.cpp:88

Scope (from outer to inner):

file
class        class FVulkanCommandsHelper : public FSelfRegisteringExec
function     virtual bool Exec_Dev

Source code excerpt:

	virtual bool Exec_Dev(class UWorld* InWorld, const TCHAR* Cmd, FOutputDevice& Ar)
	{
		if (FParse::Command(&Cmd, TEXT("VULKAN_SIMULATE_LOST_SURFACE")))
		{
			GSimulateLostSurfaceInNextTick = true;
			Ar.Log(FString::Printf(TEXT("Vulkan: simulating lost surface next frame")));
			return true;
		}
		else if (FParse::Command(&Cmd, TEXT("VULKAN_SIMULATE_SUBOPTIMAL_SURFACE")))