|
Porytiles
|
Represents a palette hint for the palette packing algorithm. More...
#include <palette_hint.hpp>
Public Member Functions | |
| PaletteHint (std::string name, Palette< Rgba32 > pal) | |
| Constructs a PaletteHint with a name and palette. | |
| const std::string & | name () const |
| const Palette< Rgba32 > & | pal () const |
Represents a palette hint for the palette packing algorithm.
A PaletteHint contains a named palette that provides guidance to the packing algorithm about how colors should be grouped together. The name allows the hint to be identified and referenced.
Definition at line 22 of file palette_hint.hpp.
Constructs a PaletteHint with a name and palette.
| name | The name of this palette hint |
| pal | The palette containing the hint colors |
Definition at line 30 of file palette_hint.hpp.
|
inline |
Definition at line 32 of file palette_hint.hpp.
Definition at line 37 of file palette_hint.hpp.