Struct VertexPositionTexture
Represents a vertex with position and texture coordinate.
Inherited Members
Namespace: Evergine.Common.Graphics.VertexFormats
Assembly: Evergine.Common.dll
Syntax
public struct VertexPositionTexture
Constructors
VertexPositionTexture(Vector3, Vector2)
Initializes a new instance of the VertexPositionTexture struct.
Declaration
public VertexPositionTexture(Vector3 position, Vector2 texCoord)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | position | The position. |
Vector2 | texCoord | The tex coord. |
Fields
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 |