Skip to main content

tile_stack

Function tile_stack 

Source
pub fn tile_stack(
    planes: &[&[u8]],
    geometry: &TileGeometry,
    tile: u32,
) -> Result<Vec<u8>>
Available on crate feature encoder only.
Expand description

One tile’s block of a group’s planes, frame-major and clipped.

planes are the group’s frames in axis order, each a flat plane of the grid geometry describes. The block is the tile’s clipped rectangle, so the last column and the last row come out narrower or shorter.