|
tess 0.4.0
Performance-first tile and path simulation substrate
|
#include <tess/block/block.h>
Public Types | |
| using | world_type = std::remove_reference_t<World> |
| using | mutable_world_type = std::remove_cv_t<world_type> |
| using | shape_type = mutable_world_type::shape_type |
| using | page_type |
| using | meta_type |
Public Member Functions | |
| constexpr | ChunkView (world_type &world, ChunkKey key) noexcept |
| constexpr auto | page () const noexcept -> page_type & |
| constexpr auto | meta () const noexcept -> meta_type & |
| constexpr auto | key () const noexcept -> ChunkKey |
| constexpr auto | coord () const noexcept -> ChunkCoord3 |
| constexpr auto | bounds () const noexcept -> Box3 |
| constexpr auto | world_coord (Coord3 local_candidate) const noexcept -> Coord3 |
| constexpr auto | world_coord (LocalCoord3 coord) const noexcept -> Coord3 |
| constexpr auto | world_coord (LocalTileId id) const noexcept -> Coord3 |
| template<typename Fn> | |
| constexpr void | for_each_tile (Fn &&fn) const |
| template<typename Tag> | |
| constexpr auto | field_span () const noexcept |
Static Public Member Functions | |
| static constexpr auto | local_bounds () noexcept -> Box3 |
| static constexpr bool | contains_local (Coord3 coord) noexcept |
| static constexpr auto | try_local_coord (Coord3 coord) noexcept -> std::optional< LocalCoord3 > |
| static constexpr auto | local_coord (LocalTileId id) noexcept -> LocalCoord3 |
| static constexpr auto | local_tile_id (LocalCoord3 coord) noexcept -> LocalTileId |
| static constexpr bool | is_boundary (LocalCoord3 coord) noexcept |
| static constexpr bool | is_interior (LocalCoord3 coord) noexcept |
Policy-qualified access to one chunk page, metadata record, and bounds.
| using tess::ChunkView< World >::meta_type |
| using tess::ChunkView< World >::page_type |