Table of Contents

Interface IMaterialHairDiscardFunction

Namespace
Stride.Rendering.Materials
Assembly
Stride.Rendering.dll

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

context MaterialGeneratorContext
uniqueAlphaThresholdKey ValueParameterKey<float>

Returns

ShaderSource

ShaderSource.