Struct VertexPositionColor
A vertex format structure containing vertex position and color.
Inherited Members
Namespace: Evergine.Common.Graphics.VertexFormats
Assembly: Evergine.Common.dll
Syntax
public struct VertexPositionColor
Constructors
VertexPositionColor(Vector3, Color)
Initializes a new instance of the VertexPositionColor struct.
Declaration
public VertexPositionColor(Vector3 position, Color color)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | position | The position. |
Color | color | The color. |
Fields
Color
Vertex color.
Declaration
public Color Color
Field Value
Type | Description |
---|---|
Color |
Position
Vertex position.
Declaration
public Vector3 Position
Field Value
Type | Description |
---|---|
Vector3 |
VertexFormat
Vertex format of this vertex.
Declaration
public static readonly LayoutDescription VertexFormat
Field Value
Type | Description |
---|---|
LayoutDescription |