glCopyTexSubImage2Dext function

void glCopyTexSubImage2Dext(
  1. int target,
  2. int level,
  3. int xoffset,
  4. int yoffset,
  5. int x,
  6. int y,
  7. int width,
  8. int height,
)
define glCopyTexSubImage2DEXT GLEW_GET_FUN(__glewCopyTexSubImage2DEXT)
GLEW_FUN_EXPORT PFNGLCOPYTEXSUBIMAGE2DEXTPROC __glewCopyTexSubImage2DEXT
typedef void (GLAPIENTRY * PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)

Implementation

void glCopyTexSubImage2Dext(int target, int level, int xoffset, int yoffset,
    int x, int y, int width, int height) {
  final glCopyTexSubImage2DextAsFunction = _glCopyTexSubImage2Dext
      .cast<
          NativeFunction<
              Void Function(
                  Uint32 target,
                  Int32 level,
                  Int32 xoffset,
                  Int32 yoffset,
                  Int32 x,
                  Int32 y,
                  Uint32 width,
                  Uint32 height)>>()
      .asFunction<
          void Function(int target, int level, int xoffset, int yoffset, int x,
              int y, int width, int height)>();
  return glCopyTexSubImage2DextAsFunction(
      target, level, xoffset, yoffset, x, y, width, height);
}