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

Method bind

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

Bind the VAO

Source from the content-addressed store, hash-verified

72
73// Bind the VAO
74inline void VertexArrayObject::bind() const {
75 assert(mVertexArrayID != 0);
76
77 // Bind the VAO
78 glBindVertexArray(mVertexArrayID);
79}
80
81// Unbind the VAO
82inline void VertexArrayObject::unbind() const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected