MCPcopy Create free account
hub / github.com/OGRECave/ogre / _createVao

Method _createVao

RenderSystems/GLES2/src/OgreGLES2RenderSystem.cpp:1320–1326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1318 }
1319
1320 uint32 GLES2RenderSystem::_createVao()
1321 {
1322 uint32 vao = 0;
1323 if(getCapabilities()->hasCapability(RSC_VAO))
1324 OGRE_CHECK_GL_ERROR(glGenVertexArraysOES(1, &vao));
1325 return vao;
1326 }
1327
1328 void GLES2RenderSystem::_destroyVao(GLContext* context, uint32 vao)
1329 {

Callers 1

bindMethod · 0.45

Calls 1

getCapabilitiesFunction · 0.85

Tested by

no test coverage detected