r.VT.FlushAndEvictFileCache

r.VT.FlushAndEvictFileCache

#Overview

name: r.VT.FlushAndEvictFileCache

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/Engine/Private/VT/VirtualTexture.cpp:13

Scope: file

Source code excerpt:


static FAutoConsoleCommand GVTFlushAndEvictFileCacheCommand(
	TEXT("r.VT.FlushAndEvictFileCache"),
	TEXT("Flush both the virtual texture physcial page cache and disk file cache"),
	FConsoleCommandDelegate::CreateStatic(
		[]()
	{
		IFileCacheHandle::EvictAll();
		GetRendererModule().FlushVirtualTextureCache();