MCPcopy Create free account
hub / github.com/OGRECave/ogre / ~GLVertexArrayObject

Method ~GLVertexArrayObject

RenderSystems/GLSupport/src/OgreGLVertexArrayObject.cpp:38–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 }
37
38 GLVertexArrayObject::~GLVertexArrayObject()
39 {
40 if(mVAO != 0)
41 {
42 GLRenderSystemCommon* rs = static_cast<GLRenderSystemCommon*>(Root::getSingleton().getRenderSystem());
43 rs->_destroyVao(mCreatorContext, mVAO);
44 }
45 }
46
47 void GLVertexArrayObject::bind(GLRenderSystemCommon* rs)
48 {

Callers

nothing calls this directly

Calls 2

getRenderSystemMethod · 0.80
_destroyVaoMethod · 0.45

Tested by

no test coverage detected