MCPcopy Create free account
hub / github.com/arrayfire/forge / ~surface_impl

Method ~surface_impl

src/backend/opengl/surface_impl.cpp:223–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221}
222
223surface_impl::~surface_impl()
224{
225 for (auto it = mVAOMap.begin(); it!=mVAOMap.end(); ++it) {
226 GLuint vao = it->second;
227 glDeleteVertexArrays(1, &vao);
228 }
229 glDeleteBuffers(1, &mIBO);
230}
231
232void surface_impl::render(const int pWindowId,
233 const int pX, const int pY, const int pVPW, const int pVPH,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected