glCopyTexSubImage2D function opengl

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 glCopyTexSubImage2DAsFunction = _glCopyTexSubImage2D
      .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 glCopyTexSubImage2DAsFunction(
    target,
    level,
    xoffset,
    yoffset,
    x,
    y,
    width,
    height,
  );
}