#include <PaletteManager.h>
◆ createGrayscalePalette()
Palette PaletteManager::createGrayscalePalette |
( |
| ) |
|
|
static |
◆ createLoadedPalette()
Palette PaletteManager::createLoadedPalette |
( |
const Palette & |
palette | ) |
|
|
static |
◆ load()
◆ paletteData()
std::span< Color > PaletteManager::paletteData |
( |
| ) |
|
- Returns
- Span containing contiguous data for all loaded palettes.
◆ paletteIndex()
int PaletteManager::paletteIndex |
( |
int |
paletteId | ) |
|
- Parameters
-
paletteId | Palette identifier, a number in [0, 999]. |
- Returns
- Index for the provided palette identifier. Returned index can then be used for getting palette data from the return value of
paletteData
function.
◆ _paletteIds
std::vector<int> PaletteManager::_paletteIds |
|
private |
◆ _palettes
std::vector<Palette> PaletteManager::_palettes |
|
private |
The documentation for this class was generated from the following files: