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