Module OgamlGraphics.VertexArray.Vertex.AttributeType

Attribute types

This module provides phantom types to enforce the soundness of attributes.

type 'a s
Attribute type phantom type
val int : int s
Integer attribute
val vector2i : OgamlMath.Vector2i.t s
Vector2i attribute
val vector3i : OgamlMath.Vector3i.t s
Vector3i attribute
val float : float s
float attribute
val vector2f : OgamlMath.Vector2f.t s
Vector2f attribute
val vector3f : OgamlMath.Vector3f.t s
Vector3f attribute
val color : Color.t s
Color attribute