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