TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

enum ModelVertexFormat in Tinman.Engine.Models

Describes the vertex format used by a IModelGeometry.

[Flags, PersistentEnum]
enum ModelVertexFormat  

Remarks

This is the vertex element usage pattern of a geometry buffer:

Items

Position = 0

Geometry buffer stores vertex position in Position at index 0?

Remarks:

This is a pseudo flag. Vertex positions are always stored.

See also:

Semantic.Position
Normal = 0x01

Geometry buffer stores vertex normal vectors in Normal at index 0?

See also:

Semantic.Normal
TangentX = 0x02

Geometry buffer stores vertex tangent vectors (along texture X-axis in Tangent at index 0?

See also:

Semantic.TangentX
TangentY = 0x04

Geometry buffer stores vertex tangent vectors (along texture Y-axis) in Tangent at index 1?

See also:

Semantic.TangentY
Albedo = 0x08

Geometry buffer stores vertex albedo colors (red, green and blue channels) and transparency (alpha channel) in Color at index 0?

See also:

Semantic.Texture
TextureCoords = 0x10

Geometry buffer stores texture coordinates in TextureCoords at index 0?

See also:

Semantic.TextureCoords
PositionExtra = 0x20

Geometry buffer stores vertex position precision delta in Position at index 1?

See also:

Semantic.Position