UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
HairStrandsDebug.cpp File Reference

Classes

class  FHairPrintLODInfoCS
 
class  FHairDebugPrintCS
 
class  FHairDebugShadowCullingCS
 
class  FHairDebugPS
 
class  FDeepShadowVisualizePS
 
class  FDeepShadowInfoCS
 
class  FVoxelVirtualRaymarchingCS
 
class  FDebugHairTangentCS
 
class  FHairStrandsPlotBSDFPS
 
class  FHairStrandsPlotSamplePS
 
class  FHairVisibilityDebugPPLLCS
 

Functions

 IMPLEMENT_GLOBAL_SHADER (FHairPrintLODInfoCS, "/Engine/Private/HairStrands/HairStrandsDebug.usf", "MainCS", SF_Compute)
 
 IMPLEMENT_GLOBAL_SHADER (FHairDebugPrintCS, "/Engine/Private/HairStrands/HairStrandsDebug.usf", "MainCS", SF_Compute)
 
 IMPLEMENT_GLOBAL_SHADER (FHairDebugShadowCullingCS, "/Engine/Private/HairStrands/HairStrandsDebug.usf", "MainCS", SF_Compute)
 
 IMPLEMENT_GLOBAL_SHADER (FHairDebugPS, "/Engine/Private/HairStrands/HairStrandsDebug.usf", "MainPS", SF_Pixel)
 
 IMPLEMENT_GLOBAL_SHADER (FDeepShadowVisualizePS, "/Engine/Private/HairStrands/HairStrandsDebug.usf", "VisualizeDomPS", SF_Pixel)
 
 IMPLEMENT_GLOBAL_SHADER (FDeepShadowInfoCS, "/Engine/Private/HairStrands/HairStrandsDebug.usf", "MainCS", SF_Compute)
 
 IMPLEMENT_GLOBAL_SHADER (FVoxelVirtualRaymarchingCS, "/Engine/Private/HairStrands/HairStrandsVoxelDebug.usf", "MainCS", SF_Compute)
 
 IMPLEMENT_GLOBAL_SHADER (FDebugHairTangentCS, "/Engine/Private/HairStrands/HairStrandsDebug.usf", "MainCS", SF_Compute)
 
 IMPLEMENT_GLOBAL_SHADER (FHairStrandsPlotBSDFPS, "/Engine/Private/HairStrands/HairStrandsDebug.usf", "MainPS", SF_Pixel)
 
 IMPLEMENT_GLOBAL_SHADER (FHairStrandsPlotSamplePS, "/Engine/Private/HairStrands/HairStrandsDebug.usf", "MainPS", SF_Pixel)
 
 IMPLEMENT_GLOBAL_SHADER (FHairVisibilityDebugPPLLCS, "/Engine/Private/HairStrands/HairStrandsDebug.usf", "VisibilityDebugPPLLCS", SF_Compute)
 
uint32 GetHairStrandsMeanSamplePerPixel (EShaderPlatform In)
 
void RenderHairStrandsDebugInfo (FRDGBuilder &GraphBuilder, FScene *Scene, TArrayView< FViewInfo > Views, FHairStrandsBookmarkParameters &Parameters)
 

Function Documentation

◆ GetHairStrandsMeanSamplePerPixel()

uint32 GetHairStrandsMeanSamplePerPixel ( EShaderPlatform  In)

◆ IMPLEMENT_GLOBAL_SHADER() [1/11]

IMPLEMENT_GLOBAL_SHADER ( FDebugHairTangentCS  ,
"/Engine/Private/HairStrands/HairStrandsDebug.usf"  ,
"MainCS"  ,
SF_Compute   
)

◆ IMPLEMENT_GLOBAL_SHADER() [2/11]

IMPLEMENT_GLOBAL_SHADER ( FDeepShadowInfoCS  ,
"/Engine/Private/HairStrands/HairStrandsDebug.usf"  ,
"MainCS"  ,
SF_Compute   
)

◆ IMPLEMENT_GLOBAL_SHADER() [3/11]

IMPLEMENT_GLOBAL_SHADER ( FDeepShadowVisualizePS  ,
"/Engine/Private/HairStrands/HairStrandsDebug.usf"  ,
"VisualizeDomPS"  ,
SF_Pixel   
)

◆ IMPLEMENT_GLOBAL_SHADER() [4/11]

IMPLEMENT_GLOBAL_SHADER ( FHairDebugPrintCS  ,
"/Engine/Private/HairStrands/HairStrandsDebug.usf"  ,
"MainCS"  ,
SF_Compute   
)

◆ IMPLEMENT_GLOBAL_SHADER() [5/11]

IMPLEMENT_GLOBAL_SHADER ( FHairDebugPS  ,
"/Engine/Private/HairStrands/HairStrandsDebug.usf"  ,
"MainPS"  ,
SF_Pixel   
)

◆ IMPLEMENT_GLOBAL_SHADER() [6/11]

IMPLEMENT_GLOBAL_SHADER ( FHairDebugShadowCullingCS  ,
"/Engine/Private/HairStrands/HairStrandsDebug.usf"  ,
"MainCS"  ,
SF_Compute   
)

◆ IMPLEMENT_GLOBAL_SHADER() [7/11]

IMPLEMENT_GLOBAL_SHADER ( FHairPrintLODInfoCS  ,
"/Engine/Private/HairStrands/HairStrandsDebug.usf"  ,
"MainCS"  ,
SF_Compute   
)

◆ IMPLEMENT_GLOBAL_SHADER() [8/11]

IMPLEMENT_GLOBAL_SHADER ( FHairStrandsPlotBSDFPS  ,
"/Engine/Private/HairStrands/HairStrandsDebug.usf"  ,
"MainPS"  ,
SF_Pixel   
)

◆ IMPLEMENT_GLOBAL_SHADER() [9/11]

IMPLEMENT_GLOBAL_SHADER ( FHairStrandsPlotSamplePS  ,
"/Engine/Private/HairStrands/HairStrandsDebug.usf"  ,
"MainPS"  ,
SF_Pixel   
)

◆ IMPLEMENT_GLOBAL_SHADER() [10/11]

IMPLEMENT_GLOBAL_SHADER ( FHairVisibilityDebugPPLLCS  ,
"/Engine/Private/HairStrands/HairStrandsDebug.usf"  ,
"VisibilityDebugPPLLCS"  ,
SF_Compute   
)

◆ IMPLEMENT_GLOBAL_SHADER() [11/11]

IMPLEMENT_GLOBAL_SHADER ( FVoxelVirtualRaymarchingCS  ,
"/Engine/Private/HairStrands/HairStrandsVoxelDebug.usf"  ,
"MainCS"  ,
SF_Compute   
)

◆ RenderHairStrandsDebugInfo()

void RenderHairStrandsDebugInfo ( FRDGBuilder GraphBuilder,
FScene Scene,
TArrayView< FViewInfo Views,
FHairStrandsBookmarkParameters Parameters 
)