[][src]Trait amethyst_tiles::DrawTiles2DBounds

pub trait DrawTiles2DBounds: 'static + Debug + Send + Sync {
    fn bounds<T: Tile, E: CoordinateEncoder>(
        map: &TileMap<T, E>,
        world: &World
    ) -> Region; }

Trait to describe how rendering tiles may be culled for the tilemap to render

Required methods

fn bounds<T: Tile, E: CoordinateEncoder>(
    map: &TileMap<T, E>,
    world: &World
) -> Region

Returns the region to render the tiles

Loading content...

Implementors

impl DrawTiles2DBounds for DrawTiles2DBoundsDefault[src]

Loading content...