|
Porytiles
|
A reconstructed RGBA tile from a compiled primary tileset, tagged with its first metatile slot location. More...
#include <palette_packer.hpp>
Public Attributes | |
| PixelTile< Rgba32 > | tile |
| std::size_t | pal_index |
| std::size_t | metatile_index |
| metatile::Layer | layer |
| metatile::Subtile | subtile |
A reconstructed RGBA tile from a compiled primary tileset, tagged with its first metatile slot location.
Each PrimaryTileRef bundles a decoded pixel tile, its hardware palette assignment, and the coordinates of the first metatile slot (in the paired primary's triple-layerized metatile entries) where this (tile_index, pal_index) pair was observed. The coordinates are used purely for diagnostic display; they let sharing remarks reference primary tiles in the same "metatile 0x3(3)|middle|northwest(0)" form used for secondary tiles.
Definition at line 78 of file palette_packer.hpp.
| metatile::Layer porytiles::PackingParams::PrimaryTileRef::layer |
Definition at line 82 of file palette_packer.hpp.
| std::size_t porytiles::PackingParams::PrimaryTileRef::metatile_index |
Definition at line 81 of file palette_packer.hpp.
| std::size_t porytiles::PackingParams::PrimaryTileRef::pal_index |
Definition at line 80 of file palette_packer.hpp.
| metatile::Subtile porytiles::PackingParams::PrimaryTileRef::subtile |
Definition at line 83 of file palette_packer.hpp.
Definition at line 79 of file palette_packer.hpp.