51 [[nodiscard]]
unsigned int index()
const
57 unsigned int index_{};
Represents a color index value for palette operations.
ColorIndex(unsigned int index)
auto operator<=>(const ColorIndex &) const =default
unsigned int index() const
Returns the underlying unsigned integer index value.
constexpr std::size_t colors_per_pal
constexpr std::size_t num_colors
constexpr std::size_t num_pals