Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    MaterialStreamDescriptor Class

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

    A Material Stream.

    System.Object → MaterialStreamDescriptor
    Derived from MaterialStreamDescriptor:

    public class MaterialStreamDescriptor
    Name Description
    Constructors
    MaterialStreamDescriptor(String, String, ShaderSource)

    Initializes a new instance of the MaterialStreamDescriptor class.

    MaterialStreamDescriptor(String, String, Type, Boolean)

    Initializes a new instance of the MaterialStreamDescriptor class.

    Properties
    Filter

    Gets the filter to modify the shader.

    Name

    Gets the name.

    Stream

    Gets the stream name.

    | Improve this Doc View Source

    Constructors


    MaterialStreamDescriptor(String, String, ShaderSource)

    Initializes a new instance of the MaterialStreamDescriptor class.

    public MaterialStreamDescriptor(string name, string stream, ShaderSource filter = null)
    Parameters
    Type Name Description
    System.String name

    The name.

    System.String stream

    The stream.

    ShaderSource filter

    The filter.

    Exceptions
    Type Condition
    System.ArgumentNullException

    name or stream


    MaterialStreamDescriptor(String, String, Type, Boolean)

    Initializes a new instance of the MaterialStreamDescriptor class.

    public MaterialStreamDescriptor(string name, string stream, Type colorType, bool remapSigned = false)
    Parameters
    Type Name Description
    System.String name

    The name.

    System.String stream

    The stream.

    System.Type colorType

    Type of the color.

    System.Boolean remapSigned
    | Improve this Doc View Source

    Properties


    Filter

    Gets the filter to modify the shader.

    public ShaderSource Filter { get; }
    Property Value
    Type Description
    ShaderSource

    The filter.


    Name

    Gets the name.

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

    The name.


    Stream

    Gets the stream name.

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

    The stream.


    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