WebGL : Draw Modes

In WebGL, you have to specify the mode to be used by the drawing API. Modes are defined as constants and you can access it using WebGL context.

In the working example given below you can try changing the mode and see the difference

Share