Associated vertex structure
Module OgamlGraphics.VertexArray.SimpleVertex
Simple pre-initialized structure This module provides a simple pre-initialized structure with some useful attributes :
- position, which should be refered to as "position"
, which stores values of type Vector3f.t
.
- color, which should be refered to as "color"
, which stores values of type Color.t
.
- uv, which should be refered to as "uv"
, which stores values of type Vector2f.t
.
- normal, which should be refered to as "normal"
, which stores values of type Vector3f.t
.
Creates a vertex with predefined attributes
Position attribute
Color attribute
UV attribute
Normal attribute