![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "HairStrandsEnvironment.h"#include "BasePassRendering.h"#include "Shader.h"#include "GlobalShader.h"#include "ShaderParameters.h"#include "ShaderParameterStruct.h"#include "SceneTextureParameters.h"#include "SceneRenderTargetParameters.h"#include "RenderGraph.h"#include "RenderGraphUtils.h"#include "SceneRendering.h"#include "PixelShaderUtils.h"#include "SystemTextures.h"#include "HairStrandsRendering.h"#include "ReflectionEnvironment.h"#include "ScenePrivate.h"#include "SceneProxies/SkyLightSceneProxy.h"#include "RenderGraphEvent.h"#include "PostProcess/PostProcessing.h"#include "ShaderPrint.h"#include "Lumen/LumenRadianceCache.h"#include "Lumen/LumenScreenProbeGather.h"#include "IndirectLightRendering.h"#include "DistanceFieldAmbientOcclusion.h"Classes | |
| class | FHairEnvironmentAO |
| class | FHairEnvironmentLightingVS |
| class | FHairEnvironmentLightingPS |
Enumerations | |
| enum class | EHairLightingSourceType : uint8 { SceneColor = 0 , ReflectionProbe = 1 , Lumen = 2 , Count } |
| enum class | EHairLightingIntegrationType : uint8 { SceneColor = 0 , AdHoc = 1 , Uniform = 2 , SH = 3 , Count } |
|
strong |
|
strong |
| DECLARE_GPU_STAT_NAMED | ( | HairSkyLighting | , |
| TEXT("Hair Sky lighting") | |||
| ) |
| DECLARE_GPU_STAT_NAMED | ( | HairStrandsReflectionEnvironment | , |
| TEXT("Hair Strands Reflection Environment") | |||
| ) |
| bool GetHairStrandsSkyLightingDebugEnable | ( | ) |
| bool GetHairStrandsSkyLightingEnable | ( | ) |
| IMPLEMENT_GLOBAL_SHADER | ( | FHairEnvironmentAO | , |
| "/Engine/Private/HairStrands/HairStrandsEnvironmentAO.usf" | , | ||
| "MainPS" | , | ||
| SF_Pixel | |||
| ) |
| IMPLEMENT_GLOBAL_SHADER | ( | FHairEnvironmentLightingPS | , |
| "/Engine/Private/HairStrands/HairStrandsEnvironmentLighting.usf" | , | ||
| "MainPS" | , | ||
| SF_Pixel | |||
| ) |
| IMPLEMENT_GLOBAL_SHADER | ( | FHairEnvironmentLightingVS | , |
| "/Engine/Private/HairStrands/HairStrandsEnvironmentLighting.usf" | , | ||
| "MainVS" | , | ||
| SF_Vertex | |||
| ) |
| void RenderHairStrandsAmbientOcclusion | ( | FRDGBuilder & | GraphBuilder, |
| const FViewInfo & | View, | ||
| const FRDGTextureRef & | InAOTexture | ||
| ) |
| void RenderHairStrandsEnvironmentLighting | ( | FRDGBuilder & | GraphBuilder, |
| const FScene * | Scene, | ||
| const FViewInfo & | View | ||
| ) |
| void RenderHairStrandsLumenLighting | ( | FRDGBuilder & | GraphBuilder, |
| const FScene * | Scene, | ||
| const FViewInfo & | View | ||
| ) |
| void RenderHairStrandsSceneColorScattering | ( | FRDGBuilder & | GraphBuilder, |
| FRDGTextureRef | SceneColorTexture, | ||
| const FScene * | Scene, | ||
| TArrayView< const FViewInfo > | Views | ||
| ) |