|
SDL3pp
A slim C++ wrapper for SDL3
|
Safely wrap Palette for non owning parameters.
Public Member Functions | |
| constexpr | PaletteParam (PaletteRaw value) |
| Constructs from PaletteRaw. | |
| constexpr | PaletteParam (std::nullptr_t _=nullptr) |
| Constructs null/invalid. | |
| constexpr | operator bool () const |
| Converts to bool. | |
| constexpr auto | operator<=> (const PaletteParam &other) const =default |
| Comparison. | |
| constexpr | operator PaletteRaw () const |
| Converts to underlying PaletteRaw. | |
| constexpr auto | operator-> () |
| member access to underlying PaletteRaw. | |
Public Attributes | |
| PaletteRaw | value |
| parameter's PaletteRaw | |