Documentation
    Preparing search index...

    Interface DecodedTexels

    Decoded RGBA8 texels, as a platform decoder produces them.

    interface DecodedTexels {
        data: Uint8Array;
        height: number;
        width: number;
    }
    Index
    data: Uint8Array

    Tightly packed RGBA8, width * height * 4 bytes, top row first unless TextureLoaderOptions.flipY says otherwise.

    height: number

    Height in texels; a finite integer ≥ 1.

    width: number

    Width in texels; a finite integer ≥ 1.