Version using index buffer for mesh drawing
shader | Specify the shader associated with the texture and vertex information |
index | Specify the index buffer |
count | Number of indexes to draw |
primitiveType | Designation such as triangle |
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.