Struct VertexPositionColorTexture
Represents a vertex with position, color and texture coordinate.
Inherited Members
Namespace: Evergine.Common.Graphics.VertexFormats
Assembly: Evergine.Common.dll
Syntax
public struct VertexPositionColorTexture
Constructors
VertexPositionColorTexture(Vector3, Color, Vector2)
Initializes a new instance of the VertexPositionColorTexture struct.
Declaration
public VertexPositionColorTexture(Vector3 position, Color color, Vector2 texCoord)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | position | The position. |
Color | color | The color. |
Vector2 | texCoord | The texture coordinates. |
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 |
TexCoord
Vertex texture coordinate.
Declaration
public Vector2 TexCoord
Field Value
Type | Description |
---|---|
Vector2 |
VertexFormat
Vertex format.
Declaration
public static readonly LayoutDescription VertexFormat
Field Value
Type | Description |
---|---|
LayoutDescription |