Struct VertexPositionTexture
Represents a vertex with a position and a texture coordinate.
Namespace: Evergine.Common.Graphics.VertexFormats
Assembly: Evergine.Common.dll
Syntax
public struct VertexPositionTextureConstructors
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 texture coordinate. | 
Fields
Position
Position of the vertex.
Declaration
public Vector3 PositionField Value
| Type | Description | 
|---|---|
| Vector3 | 
TexCoord
The vertex texture coordinate.
Declaration
public Vector2 TexCoordField Value
| Type | Description | 
|---|---|
| Vector2 | 
VertexFormat
Vertex format.
Declaration
public static readonly LayoutDescription VertexFormatField Value
| Type | Description | 
|---|---|
| LayoutDescription |