Skip to main content

decode_layer_tile

Function decode_layer_tile 

Source
pub fn decode_layer_tile(
    texture: AtlasTextureId,
    tile: TileId,
) -> Option<(LayerKey, TileCoord)>
Expand description

The layer and tile a composited sprite stands for, if it is one.