|
Porytiles
|
A service interface that loads a fixed-length Palette from a given file. More...
#include <file_palette_loader.hpp>
Public Member Functions | |
| virtual | ~FilePaletteLoader ()=default |
| virtual ChainableResult< Palette< Rgba32, palette::max_size > > | load (const std::filesystem::path &path) const =0 |
| virtual ChainableResult< Palette< Rgba32, palette::max_size > > | load_with_wildcards (const std::filesystem::path &path) const =0 |
A service interface that loads a fixed-length Palette from a given file.
The FilePaletteLoader interface is file-format-agnostic. Different implementations can load from various palette file formats (e.g., JASC, .gbapal, etc.).
Definition at line 16 of file file_palette_loader.hpp.
|
virtualdefault |
|
pure virtual |
Implemented in porytiles::JascPaletteLoader.
|
pure virtual |
Implemented in porytiles::JascPaletteLoader.