MCPcopy Create free account
hub / github.com/Hopson97/HopsonCraft / deleteData

Method deleteData

Source/Model.cpp:66–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void Model::deleteData()
67{
68 glDeleteBuffers(m_buffers.size(), m_buffers.data());
69 glDeleteVertexArrays(1, &m_vao);
70
71 m_vao = 0;
72 m_vboCount = 0;
73 m_indicesCount = 0;
74}
75
76
77void Model::bind() const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected