IMaterialHairDiscardFunction Interface
Namespace: Stride.Rendering.MaterialsAssembly: Stride.Rendering.dll
Common interface for discarding pixels for the hair shading model.
public interface IMaterialHairDiscardFunction
Name | Description | |
---|---|---|
Methods | ||
Generate(MaterialGeneratorContext, ValueParameterKey<Single>) | Generates the shader class source used for the shader composition. |
Methods
Generate(MaterialGeneratorContext, ValueParameterKey<Single>)
Generates the shader class source used for the shader composition.
ShaderSource Generate(MaterialGeneratorContext context, ValueParameterKey<float> uniqueAlphaThresholdKey)
Parameters
Type | Name | Description |
---|---|---|
MaterialGeneratorContext | context | |
ValueParameterKey<System.Single> | uniqueAlphaThresholdKey |
Returns
Type | Description |
---|---|
ShaderSource | ShaderSource. |