glCopyTexImage2D function

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

Implementation

void glCopyTexImage2D(int target, int level, int internalFormat, int x, int y,
    int width, int height, int border) {
  final glCopyTexImage2DLookupFunction = libGL.lookupFunction<
      Void Function(Uint32 target, Int32 level, Uint32 internalFormat, Int32 x,
          Int32 y, Uint32 width, Uint32 height, Int32 border),
      void Function(int target, int level, int internalFormat, int x, int y,
          int width, int height, int border)>('glCopyTexImage2D');
  return glCopyTexImage2DLookupFunction(
      target, level, internalFormat, x, y, width, height, border);
}