Table of Contents

Class ColorVertexStreamDefinition

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

A color coming from a vertex stream

[DataContract("ColorVertexStreamDefinition")]
[Display("Color Vertex Stream", null)]
public class ColorVertexStreamDefinition : IndexedVertexStreamDefinition, IVertexStreamDefinition
Inheritance
ColorVertexStreamDefinition
Implements
Inherited Members

Constructors

ColorVertexStreamDefinition()

Initializes a new instance of the ColorVertexStreamDefinition class.

public ColorVertexStreamDefinition()

ColorVertexStreamDefinition(int)

Initializes a new instance of the ColorVertexStreamDefinition class.

public ColorVertexStreamDefinition(int index)

Parameters

index int

The index.

Methods

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetSemanticNameHash()

Gets the hash code of the semantic name.

public override int GetSemanticNameHash()

Returns

int

An int with the hash code of the semantic name.

GetSemanticPrefixName()

protected override string GetSemanticPrefixName()

Returns

string