MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / unbind

Method unbind

testbed/opengl-framework/src/VertexArrayObject.h:82–87  ·  view source on GitHub ↗

Unbind the VAO

Source from the content-addressed store, hash-verified

80
81// Unbind the VAO
82inline void VertexArrayObject::unbind() const {
83 assert(mVertexArrayID != 0);
84
85 // Unbind the VAO
86 glBindVertexArray(0);
87}
88
89// Return true if the needed OpenGL extensions are available for VAO
90inline bool VertexArrayObject::checkOpenGLExtensions() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected