D3D12.SamplerWarningThreshold
D3D12.SamplerWarningThreshold
#Overview
name: D3D12.SamplerWarningThreshold
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Threshold to start warning about creating too many sampler states
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/D3D12RHI/Private/D3D12State.cpp:226
Scope: file
Source code excerpt:
int32 GD3D12SamplerWarningThreshold = 10;
static FAutoConsoleVariableRef CVarD3D12SamplerWarningThreshold(
TEXT("D3D12.SamplerWarningThreshold"),
GD3D12SamplerWarningThreshold,
TEXT("Threshold to start warning about creating too many sampler states")
);
static void LogSamplerStateWarning(const FSamplerStateInitializerRHI& Initializer)
{