glCompressedTextureSubImage2Dext function opengl_glext

void glCompressedTextureSubImage2Dext(
  1. int texture,
  2. int target,
  3. int level,
  4. int xoffset,
  5. int yoffset,
  6. int width,
  7. int height,
  8. int format,
  9. int imageSize,
  10. Pointer<NativeType> bits,
)
GLAPI void APIENTRY glCompressedTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits)

Implementation

void glCompressedTextureSubImage2Dext(
  int texture,
  int target,
  int level,
  int xoffset,
  int yoffset,
  int width,
  int height,
  int format,
  int imageSize,
  Pointer<NativeType> bits,
) {
  final glCompressedTextureSubImage2DextAsFunction =
      _glCompressedTextureSubImage2Dext
          .cast<
            NativeFunction<
              Void Function(
                Uint32 texture,
                Uint32 target,
                Int32 level,
                Int32 xoffset,
                Int32 yoffset,
                Uint32 width,
                Uint32 height,
                Uint32 format,
                Uint32 imageSize,
                Pointer<NativeType> bits,
              )
            >
          >()
          .asFunction<
            void Function(
              int texture,
              int target,
              int level,
              int xoffset,
              int yoffset,
              int width,
              int height,
              int format,
              int imageSize,
              Pointer<NativeType> bits,
            )
          >();
  return glCompressedTextureSubImage2DextAsFunction(
    texture,
    target,
    level,
    xoffset,
    yoffset,
    width,
    height,
    format,
    imageSize,
    bits,
  );
}