|
Porytiles
|
A service interface that loads a Palette from a given file. More...
#include <file_pal_loader.hpp>
Public Member Functions | |
| virtual | ~FilePalLoader ()=default |
| virtual Result< Palette< Rgba32 > > | load (const std::filesystem::path &path) const =0 |
A service interface that loads a Palette from a given file.
The FilePalLoader interface is file-format-agnostic. Different implementations can load from various pal file formats (e.g., JASC, .gbapal, etc.).
Definition at line 18 of file file_pal_loader.hpp.
|
virtualdefault |
|
pure virtual |
Implemented in porytiles2::JascPalLoader.