Specify the max number of quads you want to draw
Optional
useUint16: booleanOptionally force a uint16 buffer
Access to the webgl buffer handle
Access to the raw data of the index buffer
Depending on the browser this is either gl.UNSIGNED_SHORT or gl.UNSIGNED_INT
Helper that defines and index buffer for quad geometry
Index buffers allow you to save space in vertex buffers when you share vertices in geometry it is almost always worth it in terms of performance to use an index buffer.