glCompressedTexSubImage1D function

void glCompressedTexSubImage1D(
  1. int target,
  2. int level,
  3. int xoffset,
  4. int width,
  5. int format,
  6. int imageSize,
  7. Pointer<Void> data,
)
define glCompressedTexSubImage1D GLEW_GET_FUN(__glewCompressedTexSubImage1D)
GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC __glewCompressedTexSubImage1D
typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data)

Implementation

void glCompressedTexSubImage1D(int target, int level, int xoffset, int width,
    int format, int imageSize, Pointer<Void> data) {
  final glCompressedTexSubImage1DAsFunction = _glCompressedTexSubImage1D
      .cast<
          NativeFunction<
              Void Function(
                  Uint32 target,
                  Int32 level,
                  Int32 xoffset,
                  Uint32 width,
                  Uint32 format,
                  Uint32 imageSize,
                  Pointer<Void> data)>>()
      .asFunction<
          void Function(int target, int level, int xoffset, int width,
              int format, int imageSize, Pointer<Void> data)>();
  return glCompressedTexSubImage1DAsFunction(
      target, level, xoffset, width, format, imageSize, data);
}