mln-rs-renderer 0.0.13

Part of mln-rs, a Rust port of the MapLibre Native map rendering core. Depend on mln-rs instead.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::collections::BTreeSet;

use mln_tile_id::CanonicalTileID;

/// A `TileMask` is a set of `TileIDs` that describe what part of a tile should
/// be rendered. It omits those parts of the tile that are covered by
/// other/better tiles. If the entire tile should be rendered, it contains
/// the { 0, 0, 0 } tile. If it's empty, no part of the tile will be
/// rendered. `TileMasks` are typically generated with
/// `algorithm::updateTileMasks()`.
pub(crate) type TileMask = BTreeSet<CanonicalTileID>;