Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ColorVertexStreamDefinition Class

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

    A color coming from a vertex stream

    System.Object → VertexStreamDefinitionBase → IndexedVertexStreamDefinition → ColorVertexStreamDefinition
    Derived from ColorVertexStreamDefinition:

    [DataContract("ColorVertexStreamDefinition")]
    [Display("Color Vertex Stream", null)]
    public class ColorVertexStreamDefinition : IndexedVertexStreamDefinition, IVertexStreamDefinition
    Name Description
    Constructors
    ColorVertexStreamDefinition()

    Initializes a new instance of the ColorVertexStreamDefinition class.

    ColorVertexStreamDefinition(Int32)

    Initializes a new instance of the ColorVertexStreamDefinition class.

    Methods
    GetHashCode()
    GetSemanticNameHash()
    GetSemanticPrefixName()
    | Improve this Doc View Source

    Constructors


    ColorVertexStreamDefinition()

    Initializes a new instance of the ColorVertexStreamDefinition class.

    public ColorVertexStreamDefinition()

    ColorVertexStreamDefinition(Int32)

    Initializes a new instance of the ColorVertexStreamDefinition class.

    public ColorVertexStreamDefinition(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The index.

    | Improve this Doc View Source

    Methods


    GetHashCode()

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

    GetSemanticNameHash()

    public override int GetSemanticNameHash()
    Returns
    Type Description
    System.Int32
    Overrides
    VertexStreamDefinitionBase.GetSemanticNameHash()

    GetSemanticPrefixName()

    protected override string GetSemanticPrefixName()
    Returns
    Type Description
    System.String
    Overrides
    IndexedVertexStreamDefinition.GetSemanticPrefixName()

    Inherited Members

    IndexedVertexStreamDefinition.Index
    IndexedVertexStreamDefinition.GetSemanticName()

    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