VertexElementFormat Enumeration (Microsoft.Xna.Framework.Graphics)

Defines vertex element formats.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public enum VertexElementFormat

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The VertexElementFormat type exposes the following members.

  Platforms Name Description
Byte4 Four component unsigned byte. 
Color Four component, packed unsigned byte, mapped to 0 to 1 range. 
HalfVector2 Two component 16-bit floating point number. 
HalfVector4 Four component 16-bit floating point number. 
NormalizedShort2 Normalized, two component signed 16-bit integer. 
NormalizedShort4 Normalized, four component signed 16-bit integer. 
Short2 Two component signed 16-bit integer. 
Short4 Four component signed 16-bit integer. 
Single Single 32-bit floating point number. 
Vector2 Two component 32-bit floating point number. 
Vector3 Three component 32-bit floating point number. 
Vector4 Four component 32-bit floating point number. 
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web