glColorTable function opengl

void glColorTable(
  1. int target,
  2. int internalformat,
  3. int width,
  4. int format,
  5. int type,
  6. Pointer<NativeType> table,
)
GLAPI void GLAPIENTRY glColorTable( GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table )

Implementation

void glColorTable(
  int target,
  int internalformat,
  int width,
  int format,
  int type,
  Pointer<NativeType> table,
) {
  final glColorTableAsFunction = _glColorTable
      .cast<
        NativeFunction<
          Void Function(
            Uint32 target,
            Uint32 internalformat,
            Uint32 width,
            Uint32 format,
            Uint32 type,
            Pointer<NativeType> table,
          )
        >
      >()
      .asFunction<
        void Function(
          int target,
          int internalformat,
          int width,
          int format,
          int type,
          Pointer<NativeType> table,
        )
      >();
  return glColorTableAsFunction(
    target,
    internalformat,
    width,
    format,
    type,
    table,
  );
}