Draws simple geometry from code.
Draws simple geometry from code. Uses a drawing mode similar to OpenGL 1.x.
Simple helper to draw an UV sphere with given latitude, longitude and radius.
Adds a vertex with the currently set color/uv/etc.
Begin drawing (And optionally pass a texture override). When done call end(). For more information on how this works, search for glBegin() glEnd() references.
For the type of primitive, use the [Mesh].[code]PRIMITIVE_*[/code] enumerations.
Clears everything that was drawn using begin/end.
Ends a drawing context and displays the results.
The current drawing color.
The next vertex's normal.
The next vertex's tangent (and binormal facing).
The next vertex's UV.
The next vertex's second layer UV.