glCompressedTextureSubImage2D function opengl_glext

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

Implementation

void glCompressedTextureSubImage2D(
  int texture,
  int level,
  int xoffset,
  int yoffset,
  int width,
  int height,
  int format,
  int imageSize,
  Pointer<NativeType> data,
) {
  final glCompressedTextureSubImage2DAsFunction = _glCompressedTextureSubImage2D
      .cast<
        NativeFunction<
          Void Function(
            Uint32 texture,
            Int32 level,
            Int32 xoffset,
            Int32 yoffset,
            Uint32 width,
            Uint32 height,
            Uint32 format,
            Uint32 imageSize,
            Pointer<NativeType> data,
          )
        >
      >()
      .asFunction<
        void Function(
          int texture,
          int level,
          int xoffset,
          int yoffset,
          int width,
          int height,
          int format,
          int imageSize,
          Pointer<NativeType> data,
        )
      >();
  return glCompressedTextureSubImage2DAsFunction(
    texture,
    level,
    xoffset,
    yoffset,
    width,
    height,
    format,
    imageSize,
    data,
  );
}