Mesh drawing
shader | Specify the shader associated with the texture and vertex information |
count | Number of vertices to draw |
primitiveType | Designation such as triangle |
offset | Offset to start drawing in the vertex array |
The mesh (VertexBinder: vertex information) must be associated with the shader (set in the properties) before calling.
Texture information should be associated as well.
After calling, cancel (= void) the information associated with shader.