|
Porytiles
|
The final palette assignments after a successful packing operation. More...
#include <packing_strategy.hpp>
Public Attributes | |
| std::vector< PackedPalette > | pals_ |
| The packed palettes with their colors and assigned tiles. | |
| std::map< PackableTile::Id, std::size_t > | tile_to_pal_ |
| Maps tile IDs to their assigned hardware palette indices. | |
The final palette assignments after a successful packing operation.
Definition at line 84 of file packing_strategy.hpp.
| std::vector<PackedPalette> porytiles::PackingOutput::pals_ |
The packed palettes with their colors and assigned tiles.
Each PackedPalette contains the accumulated colors and the map of tile IDs assigned to that palette.
Definition at line 91 of file packing_strategy.hpp.
| std::map<PackableTile::Id, std::size_t> porytiles::PackingOutput::tile_to_pal_ |
Maps tile IDs to their assigned hardware palette indices.
This provides a quick lookup for finding which palette a specific tile was assigned to. The mapped value is the hardware palette index (i.e., PackedPalette::hardware_index()), NOT the index into the palettes_ vector.
Definition at line 100 of file packing_strategy.hpp.