r.HairStrands.Visibility.Compute.SamplePerPixel
r.HairStrands.Visibility.Compute.SamplePerPixel
#Overview
name: r.HairStrands.Visibility.Compute.SamplePerPixel
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Hair strands visibility sample count (2, 4, or 8)
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/Renderer/Private/HairStrands/HairStrandsVisibility.cpp:40
Scope: file
Source code excerpt:
static int32 GHairVisibilityCompute_MaxSamplePerPixel = 1;
static float GHairVisibilityCompute_MeanSamplePerPixel = 0.75f;
static FAutoConsoleVariableRef CVarHairVisibilityCompute_MaxSamplePerPixel(TEXT("r.HairStrands.Visibility.Compute.SamplePerPixel"), GHairVisibilityCompute_MaxSamplePerPixel, TEXT("Hair strands visibility sample count (2, 4, or 8)"), ECVF_Scalability | ECVF_RenderThreadSafe);
static FAutoConsoleVariableRef CVarHairVisibilityCompute_MeanSamplePerPixel(TEXT("r.HairStrands.Visibility.Compute.MeanSamplePerPixel"), GHairVisibilityCompute_MeanSamplePerPixel, TEXT("Scale the numer of sampler per pixel for limiting memory allocation (0..1, default 0.5f)"));
static int32 GHairClearVisibilityBuffer = 0;
static FAutoConsoleVariableRef CVarHairClearVisibilityBuffer(TEXT("r.HairStrands.Visibility.Clear"), GHairClearVisibilityBuffer, TEXT("Clear hair strands visibility buffer"));
static TAutoConsoleVariable<int32> CVarHairVelocityMagnitudeScale(