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

Method destroy

testbed/opengl-framework/src/VertexArrayObject.cpp:63–70  ·  view source on GitHub ↗

Destroy the VAO

Source from the content-addressed store, hash-verified

61
62// Destroy the VAO
63void VertexArrayObject::destroy() {
64
65 // Delete the vertex buffer object
66 if (mVertexArrayID != 0) {
67 glDeleteVertexArrays(1, &mVertexArrayID);
68 mVertexArrayID = 0;
69 }
70}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected