It's interesting to me that some primitives draw multiple things at the same time. For example, GL_POINTS seems to be able to draw 8 points. This could be due to the efficiency reasons, just like AVX instructions do multiple operations of the same type on multiple inputs. More on GL_POINTS as a primitive type.
Staffyirenng
Thanks @TonyLianTong! I slightly edited your comment to make the URL a hyperlink (see how to do it in your next comment in our Markdown tutorial).
As for your comment, yes, graphics libraries today usually accept arrays of data input (i.e. describing many points or triangles etc.) for efficiency reasons.
Notice also that some of these OpenGL input modes are more efficient than others, or have other tradeoffs. It is not core to our class, but perhaps someone may be interested to contrast the three modes for drawing triangles.
It's interesting to me that some primitives draw multiple things at the same time. For example, GL_POINTS seems to be able to draw 8 points. This could be due to the efficiency reasons, just like AVX instructions do multiple operations of the same type on multiple inputs. More on GL_POINTS as a primitive type.
Thanks @TonyLianTong! I slightly edited your comment to make the URL a hyperlink (see how to do it in your next comment in our Markdown tutorial).
As for your comment, yes, graphics libraries today usually accept arrays of data input (i.e. describing many points or triangles etc.) for efficiency reasons.
Notice also that some of these OpenGL input modes are more efficient than others, or have other tradeoffs. It is not core to our class, but perhaps someone may be interested to contrast the three modes for drawing triangles.