Skip to content

Latest commit

 

History

History
161 lines (141 loc) · 10.6 KB

TODO.md

File metadata and controls

161 lines (141 loc) · 10.6 KB

TODO

Objects

Bind

OpenGL is confusing because of those!

http://stackoverflow.com/a/9760790/895245

https://www.quora.com/What-are-buffer-objects-in-OpenGL

Container objects

Some objects just contain other objects: https://www.opengl.org/wiki/OpenGL_Object#Object_types

E.g. Vertex Array Object is a container https://www.opengl.org/wiki/Vertex_Specification#Vertex_Array_Object

glDrawElements vs glDrawArrays

TODO.

http://stackoverflow.com/questions/6682771/gldrawelements-vs-gldrawarray-efficiency

If the last argument of glDrawElements is null, it takes the currently bound:

glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, ebo);