IMaterialHairLightAttenuationFunction Interface
Namespace: Stride.Rendering.MaterialsAssembly: Stride.Rendering.dll
Common interface for calculating the light attenuation for the hair shading model.
public interface IMaterialHairLightAttenuationFunction
| Name | Description | |
|---|---|---|
| Methods | ||
| Generate(MaterialGeneratorContext) | Generates the shader class source used for the shader composition. |
|
Methods
Generate(MaterialGeneratorContext)
Generates the shader class source used for the shader composition.
ShaderSource Generate(MaterialGeneratorContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| MaterialGeneratorContext | context |
Returns
| Type | Description |
|---|---|
| ShaderSource | ShaderSource. |