Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ShaderClassCode Class

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

    A common base class for shader classes with source code.

    System.Object → ShaderSource → ShaderClassCode
    Derived from ShaderClassCode: ShaderClassSource ShaderClassString

    [DataContract("ShaderClassCode")]
    public abstract class ShaderClassCode : ShaderSource
    Name Description
    Properties
    ClassName

    Gets the name of the class.

    GenericArguments

    Gets the generic parameters.

    GenericParametersArguments
    Methods
    ToClassName()

    Returns a class name as a System.String that represents this instance.

    ToString()
    | Improve this Doc View Source

    Properties


    ClassName

    Gets the name of the class.

    [DataMember(10)]
    public string ClassName { get; set; }
    Property Value
    Type Description
    System.String

    The name of the class.


    GenericArguments

    Gets the generic parameters.

    [DataStyle(DataStyle.Compact)]
    [DataMember(20)]
    public string[] GenericArguments { get; set; }
    Property Value
    Type Description
    System.String[]

    The generic parameters.


    GenericParametersArguments

    [DataMember(30)]
    public Dictionary<string, string> GenericParametersArguments { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, System.String>
    | Improve this Doc View Source

    Methods


    ToClassName()

    Returns a class name as a System.String that represents this instance.

    public string ToClassName()
    Returns
    Type Description
    System.String

    A class name as a System.String that represents this instance.


    ToString()

    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Inherited Members

    ShaderSource.Discard
    ShaderSource.Clone()
    ShaderSource.Equals(Object)
    ShaderSource.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