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

Method bindGLTexture

RenderSystems/GLES2/src/OgreGLES2StateCacheManager.cpp:221–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219 }
220
221 void GLES2StateCacheManager::bindGLTexture(GLenum target, GLuint texture)
222 {
223 mLastBoundTexID = texture;
224
225 // Update GL
226 OGRE_CHECK_GL_ERROR(glBindTexture(target, texture));
227 }
228
229 bool GLES2StateCacheManager::activateGLTextureUnit(size_t unit)
230 {

Callers 5

uploadMethod · 0.45
copyFromFramebufferMethod · 0.45
blitFromTextureMethod · 0.45
_setTextureMethod · 0.45
_createGLTexResourceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected