glCompressedTexImage1D function

void glCompressedTexImage1D(
  1. int target,
  2. int level,
  3. int internalformat,
  4. int width,
  5. int border,
  6. int imageSize,
  7. Pointer<Void> data,
)
define glCompressedTexImage1D GLEW_GET_FUN(__glewCompressedTexImage1D)
GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXIMAGE1DPROC __glewCompressedTexImage1D
typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data)

Implementation

void glCompressedTexImage1D(int target, int level, int internalformat,
    int width, int border, int imageSize, Pointer<Void> data) {
  final glCompressedTexImage1DAsFunction = _glCompressedTexImage1D
      .cast<
          NativeFunction<
              Void Function(
                  Uint32 target,
                  Int32 level,
                  Uint32 internalformat,
                  Uint32 width,
                  Int32 border,
                  Uint32 imageSize,
                  Pointer<Void> data)>>()
      .asFunction<
          void Function(int target, int level, int internalformat, int width,
              int border, int imageSize, Pointer<Void> data)>();
  return glCompressedTexImage1DAsFunction(
      target, level, internalformat, width, border, imageSize, data);
}