@lightningjs/renderer
    Preparing search index...

    Interface CompressedData

    Represents compressed texture data.

    interface CompressedData {
        blockInfo: { bytes: number; height: number; width: number };
        glInternalFormat: number;
        h: number;
        mipmaps: ArrayBuffer[];
        type: "PVR" | "KTX" | "ASTC";
        w: number;
    }
    Index

    Properties

    blockInfo: { bytes: number; height: number; width: number }

    block info compressed texture format

    glInternalFormat: number

    GLenum spcifying compression format

    h: number

    The height of the compressed texture in pixels.

    mipmaps: ArrayBuffer[]

    All mipmap levels

    type: "PVR" | "KTX" | "ASTC"

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

    w: number

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

    0