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