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