r.Vulkan.PSOLRUEvictAfterUnusedFrames
r.Vulkan.PSOLRUEvictAfterUnusedFrames
#Overview
name: r.Vulkan.PSOLRUEvictAfterUnusedFrames
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
0: unused PSOs are not removed from the PSO LRU cache. (default)\n>0: The number of frames an unused PSO can remain in the PSO LRU cache. When this is exceeded the PSO is destroyed and memory returned to the system. This can save memory with the risk of increased hitching.
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/VulkanPipeline.cpp:146
Scope: file
Source code excerpt:
static int32 GVulkanPSOLRUEvictAfterUnusedFrames = 0;
static FAutoConsoleVariableRef GVulkanPSOLRUEvictAfterUnusedFramesCVar(
TEXT("r.Vulkan.PSOLRUEvictAfterUnusedFrames"),
GVulkanPSOLRUEvictAfterUnusedFrames,
TEXT("0: unused PSOs are not removed from the PSO LRU cache. (default)\n")
TEXT(">0: The number of frames an unused PSO can remain in the PSO LRU cache. When this is exceeded the PSO is destroyed and memory returned to the system. This can save memory with the risk of increased hitching.")
, ECVF_RenderThreadSafe
);