Rendering modes
Let's revisit the signature of the drawElements
function:
gl.drawElements(Mode, Count, Type, Offset)
The first parameter determines the type of primitives that we are rendering. In the following time for action section, we are going to see with examples the different rendering modes.