glCopyTexSubImage2D function

void glCopyTexSubImage2D(
  1. int target,
  2. int level,
  3. int xoffset,
  4. int yoffset,
  5. int x,
  6. int y,
  7. int width,
  8. int height,
)
GLAPI void GLAPIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)

Implementation

void glCopyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
    int y, int width, int height) {
  final glCopyTexSubImage2DLookupFunction = libGL.lookupFunction<
      Void Function(Uint32 target, Int32 level, Int32 xoffset, Int32 yoffset,
          Int32 x, Int32 y, Uint32 width, Uint32 height),
      void Function(int target, int level, int xoffset, int yoffset, int x,
          int y, int width, int height)>('glCopyTexSubImage2D');
  return glCopyTexSubImage2DLookupFunction(
      target, level, xoffset, yoffset, x, y, width, height);
}