CopyFromFramebuffer2D method

void CopyFromFramebuffer2D(
  1. int x,
  2. int y,
  3. int w,
  4. int h,
)

Implementation

void CopyFromFramebuffer2D(int x, int y, int w, int h) {
  _cgl.bindTexture(_textureType, _texture);
  _cgl.copyTexImage2D(_textureType, 0, GL_RGBA, x, y, w, h);
  Install();
}