Interface IMaterialHairDiscardFunction
Common interface for discarding pixels for the hair shading model.
public interface IMaterialHairDiscardFunction
  Methods
Generate(MaterialGeneratorContext, ValueParameterKey<float>)
Generates the shader class source used for the shader composition.
ShaderSource Generate(MaterialGeneratorContext context, ValueParameterKey<float> uniqueAlphaThresholdKey)
  Parameters
contextMaterialGeneratorContextuniqueAlphaThresholdKeyValueParameterKey<float>
Returns
- ShaderSource
 ShaderSource.