Taos API Reference
    Preparing search index...

    Interface QuantizedMeshWaterMask

    The quantized-mesh watermask extension (id 2): per the spec, either a single byte covering the whole tile, or a 256×256 row-major grid — 255 = water, 0 = land (intermediate values appear along coastlines). Rows run south → north and columns west → east, the same orientation as the tile's u/v (so row index maps to the v fraction, column to the u fraction).

    interface QuantizedMeshWaterMask {
        size: 1 | 256;
        data: Uint8Array;
    }
    Index

    Properties

    Properties

    size: 1 | 256

    1 for a whole-tile flag, 256 for a per-texel grid.

    Raw mask bytes: length 1 (uniform) or 65536 (256×256, row-major).