![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "HairStrandsLUT.h"#include "HairStrandsUtils.h"#include "Shader.h"#include "GlobalShader.h"#include "ShaderParameters.h"#include "ShaderParameterStruct.h"#include "RenderGraphUtils.h"#include "SceneRendering.h"#include "SystemTextures.h"#include "DataDrivenShaderPlatformInfo.h"Classes | |
| class | FHairLUTCS |
| struct | FHairCountToCoverageData |
| class | FHairCoverageLUTCS |
Functions | |
| IMPLEMENT_GLOBAL_SHADER (FHairLUTCS, "/Engine/Private/HairStrands/HairStrandsLUT.usf", "MainCS", SF_Compute) | |
| float | GetHairCoverage (uint32 InCount, float InAvgRadius) |
| Return the hair coverage for a certain hair count and normalized avg hair radius (i.e, [0..1]) | |
| float | GetHairAvgRadius (uint32 InCount, float InCoverage) |
| Return the average hair normalized radius for a given hair count and a given coverage value. | |
| IMPLEMENT_GLOBAL_SHADER (FHairCoverageLUTCS, "/Engine/Private/HairStrands/HairStrandsLUT.usf", "MainCS", SF_Compute) | |
| FRDGTextureRef | GetHairLUT (FRDGBuilder &GraphBuilder, const FViewInfo &View, FHairLUTType Type) |
| Returns Hair LUTs. LUTs are generated on demand. | |
| void | UpdateHairResources (FRDGBuilder &GraphBuilder, const FViewInfo &View) |
Return the average hair normalized radius for a given hair count and a given coverage value.
Return the hair coverage for a certain hair count and normalized avg hair radius (i.e, [0..1])
| FRDGTextureRef GetHairLUT | ( | FRDGBuilder & | GraphBuilder, |
| const FViewInfo & | View, | ||
| FHairLUTType | Type | ||
| ) |
Returns Hair LUTs. LUTs are generated on demand.
| IMPLEMENT_GLOBAL_SHADER | ( | FHairCoverageLUTCS | , |
| "/Engine/Private/HairStrands/HairStrandsLUT.usf" | , | ||
| "MainCS" | , | ||
| SF_Compute | |||
| ) |
| IMPLEMENT_GLOBAL_SHADER | ( | FHairLUTCS | , |
| "/Engine/Private/HairStrands/HairStrandsLUT.usf" | , | ||
| "MainCS" | , | ||
| SF_Compute | |||
| ) |
| void UpdateHairResources | ( | FRDGBuilder & | GraphBuilder, |
| const FViewInfo & | View | ||
| ) |