ldtk::int_grid_base class

Derived classes

class int_grid_empty_t final
template<std::unsigned_integral Int>
class int_grid_t final

Public functions

auto cell_storage_size() const -> int pure virtual constexpr
Get the size of bytes used for cell storage.
(empty: 0, u8: 1, u16: 2, u32: 4)
auto cell_int(int grid_x, int grid_y) const -> int pure virtual constexpr
Get the cell int value with the grid coordinate.
auto c_size() const -> const bn::size& constexpr
Grid-based size.
auto c_width() const -> int constexpr
Grid-based width.
auto c_height() const -> int constexpr
Grid-based height.