SDL3pp
A slim C++ wrapper for SDL3
Loading...
Searching...
No Matches
SDL::PaletteIndex Class Reference

Auxiliary class for Palette to provide access to specific palette index. More...

Public Member Functions

constexpr PaletteIndex (PaletteRaw palette, int index)
 Constructs a PaletteIndex for a specific palette and index.
constexpr operator bool () const
 Converts to bool, true if this is a valid palette index.
constexpr operator ColorRaw () const
 Converts to ColorRaw.
PaletteIndexoperator= (ColorRaw color)
 Assignment operator.

Detailed Description

Auxiliary class for Palette to provide access to specific palette index.


The documentation for this class was generated from the following file: