Represents compressed texture data.

interface CompressedData {
    glInternalFormat: number;
    h: number;
    mipmaps?: ArrayBuffer[];
    type: "pvr" | "ktx";
    w: number;
}

Properties

glInternalFormat: number

GLenum spcifying compression format

h: number

The height of the compressed texture in pixels.

mipmaps?: ArrayBuffer[]

All mipmap levels

type: "pvr" | "ktx"

Supported container types ('pvr' or 'ktx').

w: number

The width of the compressed texture in pixels. Defaults to 0.

0