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