Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ComputeVertexStreamColor Class

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

    A compute color producing a color from a stream.

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

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

    Initializes a new instance of the ComputeVertexStreamColor class.

    Properties
    HasChanged

    Indicates if the IComputeColor has changed since the last time it was checked, which might require recompilation of the shader mixins. Once polled, it will reset all cached states and revert to false until other changes have been triggered.

    Methods
    GetColorChannelAsString()
    | Improve this Doc View Source

    Constructors


    ComputeVertexStreamColor()

    Initializes a new instance of the ComputeVertexStreamColor class.

    public ComputeVertexStreamColor()
    | Improve this Doc View Source

    Properties


    HasChanged

    Indicates if the IComputeColor has changed since the last time it was checked, which might require recompilation of the shader mixins. Once polled, it will reset all cached states and revert to false until other changes have been triggered.

    public bool HasChanged { get; }
    Property Value
    Type Description
    System.Boolean
    | 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