Before (if/when) Idea: restore `drawMode` in some form or other, to avoid user bugs gets implemented, we should at least add a note to BufferGeometry
docs:
For the .index
property:
If an index exists, the geometry is drawn with
gl.drawElements
and thedrawRange
is the set of indices to draw, otherwisegl.drawArrays
is used and thedrawRange
is the set of positions to draw.
And for the .setDrawRange
method:
If an
index
is present, this set the range of indices to draw, otherwise without anindex
this sets the range of positions to draw.
where drawRange
and index
occurrences are links to those properties.