Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    MaterialHairDiscardFunctionTransparentPass Class

    Namespace: Stride.Rendering.Materials
    Assembly: Stride.Rendering.dll
    System.Object → MaterialHairDiscardFunctionTransparentPass
    Derived from MaterialHairDiscardFunctionTransparentPass:

    [DataContract("MaterialHairDiscardFunctionTransparentPass")]
    [Display("MaterialHairDiscardFunctionTransparentPass", null)]
    public class MaterialHairDiscardFunctionTransparentPass : IMaterialHairDiscardFunction
    Name Description
    Methods
    Equals(Object)
    Generate(MaterialGeneratorContext, ValueParameterKey<Single>)
    GetHashCode()
    | Improve this Doc View Source

    Methods


    Equals(Object)

    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)

    Generate(MaterialGeneratorContext, ValueParameterKey<Single>)

    public ShaderSource Generate(MaterialGeneratorContext context, ValueParameterKey<float> uniqueAlphaThresholdKey)
    Parameters
    Type Name Description
    MaterialGeneratorContext context
    ValueParameterKey<System.Single> uniqueAlphaThresholdKey
    Returns
    Type Description
    ShaderSource

    GetHashCode()

    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()

    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