Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ShaderMixinGeneratorSource Class

    Namespace: Stride.Shaders
    Assembly: Stride.Shaders.dll

    A shader source that is linked to a sdfx effect.

    System.Object → ShaderSource → ShaderMixinGeneratorSource
    Derived from ShaderMixinGeneratorSource:

    [DataContract("ShaderMixinGeneratorSource")]
    public sealed class ShaderMixinGeneratorSource : ShaderSource, IEquatable<ShaderMixinGeneratorSource>
    Name Description
    Constructors
    ShaderMixinGeneratorSource()

    Initializes a new instance of the ShaderMixinGeneratorSource class.

    ShaderMixinGeneratorSource(String)

    Initializes a new instance of the ShaderMixinGeneratorSource class.

    Properties
    Name

    Gets or sets the name of the sdfx effect.

    Methods
    Clone()
    Equals(ShaderMixinGeneratorSource)

    Indicates whether the current object is equal to another object of the same type.

    Equals(Object)
    GetHashCode()
    ToString()
    Operators
    Equality(ShaderMixinGeneratorSource, ShaderMixinGeneratorSource)
    Inequality(ShaderMixinGeneratorSource, ShaderMixinGeneratorSource)
    | Improve this Doc View Source

    Constructors


    ShaderMixinGeneratorSource()

    Initializes a new instance of the ShaderMixinGeneratorSource class.

    public ShaderMixinGeneratorSource()

    ShaderMixinGeneratorSource(String)

    Initializes a new instance of the ShaderMixinGeneratorSource class.

    public ShaderMixinGeneratorSource(string name)
    Parameters
    Type Name Description
    System.String name

    The name of the sdfx effect.

    | Improve this Doc View Source

    Properties


    Name

    Gets or sets the name of the sdfx effect.

    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    The name of the sdfx effect.

    | Improve this Doc View Source

    Methods


    Clone()

    public override object Clone()
    Returns
    Type Description
    System.Object
    Overrides
    ShaderSource.Clone()

    Equals(ShaderMixinGeneratorSource)

    Indicates whether the current object is equal to another object of the same type.

    public bool Equals(ShaderMixinGeneratorSource other)
    Parameters
    Type Name Description
    ShaderMixinGeneratorSource other

    An object to compare with this object.

    Returns
    Type Description
    System.Boolean

    true if the current object is equal to the other parameter; otherwise, false.


    Equals(Object)

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

    GetHashCode()

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

    ToString()

    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()
    | Improve this Doc View Source

    Operators


    Equality(ShaderMixinGeneratorSource, ShaderMixinGeneratorSource)

    public static bool operator ==(ShaderMixinGeneratorSource left, ShaderMixinGeneratorSource right)
    Parameters
    Type Name Description
    ShaderMixinGeneratorSource left
    ShaderMixinGeneratorSource right
    Returns
    Type Description
    System.Boolean

    Inequality(ShaderMixinGeneratorSource, ShaderMixinGeneratorSource)

    public static bool operator !=(ShaderMixinGeneratorSource left, ShaderMixinGeneratorSource right)
    Parameters
    Type Name Description
    ShaderMixinGeneratorSource left
    ShaderMixinGeneratorSource right
    Returns
    Type Description
    System.Boolean

    Inherited Members

    ShaderSource.Discard

    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