r.HairStrands.Voxelization.GPUDriven
r.HairStrands.Voxelization.GPUDriven
#Overview
name: r.HairStrands.Voxelization.GPUDriven
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Enable GPU driven voxelization.
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/HairStrandsVoxelization.cpp:97
Scope: file
Source code excerpt:
static int32 GHairVirtualVoxelGPUDrivenMinPageIndexRes = 32;
static int32 GHairVirtualVoxelGPUDrivenMaxPageIndexRes = 64;
static FAutoConsoleVariableRef CVarHairVirtualVoxelGPUDriven(TEXT("r.HairStrands.Voxelization.GPUDriven"), GHairVirtualVoxelGPUDriven, TEXT("Enable GPU driven voxelization."));
static FAutoConsoleVariableRef CVarHairVirtualVoxelGPUDrivenMinPageIndexRes(TEXT("r.HairStrands.Voxelization.GPUDriven.MinPageIndexResolution"), GHairVirtualVoxelGPUDrivenMinPageIndexRes, TEXT("Min resolution of the page index. This is used for allocating a conservative page index buffer when GPU driven allocation is enabled."));
static FAutoConsoleVariableRef CVarHairVirtualVoxelGPUDrivenMaxPageIndexRes(TEXT("r.HairStrands.Voxelization.GPUDriven.MaxPageIndexResolution"), GHairVirtualVoxelGPUDrivenMaxPageIndexRes, TEXT("Max resolution of the page index. This is used for allocating a conservative page index buffer when GPU driven allocation is enabled."));
static const FIntPoint GPUDrivenViewportResolution = FIntPoint(4096, 4096);
static int32 GHairVirtualVoxelInvalidEmptyPageIndex = 1;