ColorVertexStreamDefinition Class
Namespace: Stride.Rendering.Materials.ComputeColorsAssembly: 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() | ||
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.  | 
                  
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
GetSemanticPrefixName()
protected override string GetSemanticPrefixName()
              Returns
| Type | Description | 
|---|---|
| System.String |