Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    IMaterialHairLightAttenuationFunction Interface

    Namespace: Stride.Rendering.Materials
    Assembly: 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.

    | Improve this Doc View Source

    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.


    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation