glCopyColorTable function opengl

void glCopyColorTable(
  1. int target,
  2. int internalformat,
  3. int x,
  4. int y,
  5. int width,
)
GLAPI void GLAPIENTRY glCopyColorTable( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width )

Implementation

void glCopyColorTable(int target, int internalformat, int x, int y, int width) {
  final glCopyColorTableAsFunction = _glCopyColorTable
      .cast<
        NativeFunction<
          Void Function(
            Uint32 target,
            Uint32 internalformat,
            Int32 x,
            Int32 y,
            Uint32 width,
          )
        >
      >()
      .asFunction<
        void Function(int target, int internalformat, int x, int y, int width)
      >();
  return glCopyColorTableAsFunction(target, internalformat, x, y, width);
}