Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ComputeVertexStreamScalar Class

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

    A compute scalar producing a scalar from a stream.

    System.Object → ComputeNode → ComputeVertexStreamBase → ComputeVertexStreamScalar
    Derived from ComputeVertexStreamScalar:

    [DataContract("ComputeVertexStreamScalar")]
    [Display("Vertex Stream", null)]
    public class ComputeVertexStreamScalar : ComputeVertexStreamBase, IComputeVertexStream, IComputeScalar, IComputeNode
    Name Description
    Constructors
    ComputeVertexStreamScalar()

    Initializes a new instance of the ComputeVertexStreamScalar class.

    Properties
    Channel

    Gets or sets the channel.

    Methods
    GetColorChannelAsString()
    | Improve this Doc View Source

    Constructors


    ComputeVertexStreamScalar()

    Initializes a new instance of the ComputeVertexStreamScalar class.

    public ComputeVertexStreamScalar()
    | Improve this Doc View Source

    Properties


    Channel

    Gets or sets the channel.

    [DataMember(20)]
    public ColorChannel Channel { get; set; }
    Property Value
    Type Description
    ColorChannel

    The channel.

    | Improve this Doc View Source

    Methods


    GetColorChannelAsString()

    protected override string GetColorChannelAsString()
    Returns
    Type Description
    System.String
    Overrides
    ComputeVertexStreamBase.GetColorChannelAsString()

    Inherited Members

    ComputeVertexStreamBase.Stream
    ComputeVertexStreamBase.GenerateShaderSource(ShaderGeneratorContext, MaterialComputeColorKeys)
    ComputeNode.GetChildren(Object)

    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