Table of Contents

Enum VertexElementFormat

Namespace
Microsoft.Xna.Framework.Graphics
Assembly
MonoGame.Framework.dll

Defines vertex element formats.

public enum VertexElementFormat

Fields

Byte4 = 5

Four component unsigned byte.

Color = 4

Four component, packed unsigned byte, mapped to 0 to 1 range.

HalfVector2 = 10

Two component 16-bit floating point number.

HalfVector4 = 11

Four component 16-bit floating point number.

NormalizedShort2 = 8

Normalized, two component signed 16-bit integer.

NormalizedShort4 = 9

Normalized, four component signed 16-bit integer.

Short2 = 6

Two component signed 16-bit integer.

Short4 = 7

Four component signed 16-bit integer.

Single = 0

Single 32-bit floating point number.

Vector2 = 1

Two component 32-bit floating point number.

Vector3 = 2

Three component 32-bit floating point number.

Vector4 = 3

Four component 32-bit floating point number.