glCompressedTextureImage2Dext function opengl_glext

void glCompressedTextureImage2Dext(
  1. int texture,
  2. int target,
  3. int level,
  4. int internalformat,
  5. int width,
  6. int height,
  7. int border,
  8. int imageSize,
  9. Pointer<NativeType> bits,
)
GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits)

Implementation

void glCompressedTextureImage2Dext(
  int texture,
  int target,
  int level,
  int internalformat,
  int width,
  int height,
  int border,
  int imageSize,
  Pointer<NativeType> bits,
) {
  final glCompressedTextureImage2DextAsFunction = _glCompressedTextureImage2Dext
      .cast<
        NativeFunction<
          Void Function(
            Uint32 texture,
            Uint32 target,
            Int32 level,
            Uint32 internalformat,
            Uint32 width,
            Uint32 height,
            Int32 border,
            Uint32 imageSize,
            Pointer<NativeType> bits,
          )
        >
      >()
      .asFunction<
        void Function(
          int texture,
          int target,
          int level,
          int internalformat,
          int width,
          int height,
          int border,
          int imageSize,
          Pointer<NativeType> bits,
        )
      >();
  return glCompressedTextureImage2DextAsFunction(
    texture,
    target,
    level,
    internalformat,
    width,
    height,
    border,
    imageSize,
    bits,
  );
}