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

Method copyFromFramebuffer

RenderSystems/GLES2/src/OgreGLES2HardwarePixelBuffer.cpp:361–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359 }
360
361 void GLES2TextureBuffer::copyFromFramebuffer(size_t zoffset)
362 {
363 getGLES2RenderSystem()->_getStateCacheManager()->bindGLTexture(mTarget, mTextureID);
364 OGRE_CHECK_GL_ERROR(glCopyTexSubImage2D(mFaceTarget, mLevel, 0, 0, 0, 0, mWidth, mHeight));
365 }
366
367 //-----------------------------------------------------------------------------
368 void GLES2TextureBuffer::blit(const HardwarePixelBufferSharedPtr &src, const Box &srcBox, const Box &dstBox)

Callers

nothing calls this directly

Calls 1

bindGLTextureMethod · 0.45

Tested by

no test coverage detected