XYZ Maps Documentation
    Preparing search index...

    Interface ModelTextureData

    Raw RGBA pixels for a model texture.

    interface ModelTextureData {
        data: Uint8Array<ArrayBufferLike> | Uint8ClampedArray<ArrayBufferLike>;
        flipY?: boolean;
    }
    Index
    data: Uint8Array<ArrayBufferLike> | Uint8ClampedArray<ArrayBufferLike>

    RGBA values in row-major order; must contain width * height * 4 bytes.

    flipY?: boolean

    Vertical upload flip hint. WebGL does not flip typed-array pixels; normalize raw pixel rows before uploading (as utils.decodeTga does).