r.Vulkan.ForceStagingBufferOnLock
r.Vulkan.ForceStagingBufferOnLock
#Overview
name: r.Vulkan.ForceStagingBufferOnLock
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
When nonzero, non-volatile buffer locks will always use staging buffers. Useful for debugging.\ndefault: 0
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/VulkanBuffer.cpp:18
Scope: file
Source code excerpt:
int32 GVulkanForceStagingBufferOnLock = 0;
static FAutoConsoleVariableRef CVarVulkanForceStagingBufferOnLock(
TEXT("r.Vulkan.ForceStagingBufferOnLock"),
GVulkanForceStagingBufferOnLock,
TEXT("When nonzero, non-volatile buffer locks will always use staging buffers. Useful for debugging.\n")
TEXT("default: 0"),
ECVF_RenderThreadSafe
);