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

Method destroy

testbed/opengl-framework/src/VertexBufferObject.cpp:81–88  ·  view source on GitHub ↗

Destroy the VBO

Source from the content-addressed store, hash-verified

79
80// Destroy the VBO
81void VertexBufferObject::destroy() {
82
83 // Delete the vertex buffer object
84 if (mVertexBufferID != 0) {
85 glDeleteFramebuffers(1, &mVertexBufferID);
86 mVertexBufferID = 0;
87 }
88}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected