|
| | PaletteRef (PaletteRaw resource) noexcept |
| | Constructs from PaletteRaw. More...
|
| |
|
| PaletteRef (Palette resource) noexcept |
| | Constructs from Palette.
|
| |
|
constexpr | Palette (std::nullptr_t=nullptr) noexcept |
| | Default ctor.
|
| |
| constexpr | Palette (const PaletteRaw resource) noexcept |
| | Constructs from PaletteParam. More...
|
| |
|
constexpr | Palette (const Palette &other) |
| | Copy constructor.
|
| |
|
constexpr | Palette (Palette &&other) noexcept |
| | Move constructor.
|
| |
| | Palette (int ncolors) |
| | Create a palette structure with the specified number of color entries. More...
|
| |
|
constexpr | Palette (std::nullptr_t=nullptr) noexcept |
| | Default ctor.
|
| |
| constexpr | Palette (const PaletteRaw resource) noexcept |
| | Constructs from PaletteParam. More...
|
| |
|
constexpr | Palette (const Palette &other) |
| | Copy constructor.
|
| |
|
constexpr | Palette (Palette &&other) noexcept |
| | Move constructor.
|
| |
| | Palette (int ncolors) |
| | Create a palette structure with the specified number of color entries. More...
|
| |
|
constexpr const PaletteRaw | operator-> () const noexcept |
| | member access to underlying PaletteRaw.
|
| |
|
constexpr PaletteRaw | operator-> () noexcept |
| | member access to underlying PaletteRaw.
|
| |
|
| ~Palette () |
| | Destructor.
|
| |
|
constexpr Palette & | operator= (Palette &&other) noexcept |
| | Assignment operator.
|
| |
|
constexpr Palette & | operator= (const Palette &other) noexcept=default |
| | Assignment operator.
|
| |
|
constexpr PaletteRaw | get () const noexcept |
| | Retrieves underlying PaletteRaw.
|
| |
|
constexpr PaletteRaw | release () noexcept |
| | Retrieves underlying PaletteRaw and clear this.
|
| |
|
constexpr auto | operator<=> (const Palette &other) const noexcept=default |
| | Comparison.
|
| |
|
constexpr | operator bool () const noexcept |
| | Converts to bool.
|
| |
|
constexpr | operator PaletteParam () const noexcept |
| | Converts to PaletteParam.
|
| |
| void | Destroy () |
| | Free a palette created with Palette.Palette(). More...
|
| |
|
constexpr const ColorRaw * | data () const |
| | Access specific pallete colors.
|
| |
|
constexpr int | size () const |
| | Returns number of colors in the palette.
|
| |
|
constexpr ColorRaw | operator[] (int index) const |
| | Access specific pallete index.
|
| |
| void | SetColors (SpanRef< const ColorRaw > colors, int firstcolor=0) |
| | Set a range of colors in a palette. More...
|
| |