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