|
Porytiles
|
A member of a ShapeGroup, representing one tile that shares a canonical shape with other members. More...
#include <shape_group.hpp>
Public Attributes | |
| std::size_t | tile_index |
| std::map< ShapeMask, PixelType > | colors |
| bool | h_flip |
| bool | v_flip |
A member of a ShapeGroup, representing one tile that shares a canonical shape with other members.
Each member records which input tile it corresponds to (via tile_index), its color assignment (the full ShapeMask -> PixelType mapping from its ShapeTile), and the flip flags needed to transform the canonical shape back to this member's original orientation.
| PixelType | The pixel type stored for each shape region (e.g., Rgba32) |
Definition at line 23 of file shape_group.hpp.
| std::map<ShapeMask, PixelType> porytiles::ShapeGroupMember< PixelType >::colors |
Definition at line 26 of file shape_group.hpp.
| bool porytiles::ShapeGroupMember< PixelType >::h_flip |
Definition at line 28 of file shape_group.hpp.
| std::size_t porytiles::ShapeGroupMember< PixelType >::tile_index |
Definition at line 24 of file shape_group.hpp.
| bool porytiles::ShapeGroupMember< PixelType >::v_flip |
Definition at line 30 of file shape_group.hpp.