glCompressedTexImage3D function opengl

void glCompressedTexImage3D(
  1. int target,
  2. int level,
  3. int internalformat,
  4. int width,
  5. int height,
  6. int depth,
  7. int border,
  8. int imageSize,
  9. Pointer<NativeType> data,
)
GLAPI void GLAPIENTRY glCompressedTexImage3D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data )

Implementation

void glCompressedTexImage3D(
  int target,
  int level,
  int internalformat,
  int width,
  int height,
  int depth,
  int border,
  int imageSize,
  Pointer<NativeType> data,
) {
  final glCompressedTexImage3DAsFunction = _glCompressedTexImage3D
      .cast<
        NativeFunction<
          Void Function(
            Uint32 target,
            Int32 level,
            Uint32 internalformat,
            Uint32 width,
            Uint32 height,
            Uint32 depth,
            Int32 border,
            Uint32 imageSize,
            Pointer<NativeType> data,
          )
        >
      >()
      .asFunction<
        void Function(
          int target,
          int level,
          int internalformat,
          int width,
          int height,
          int depth,
          int border,
          int imageSize,
          Pointer<NativeType> data,
        )
      >();
  return glCompressedTexImage3DAsFunction(
    target,
    level,
    internalformat,
    width,
    height,
    depth,
    border,
    imageSize,
    data,
  );
}