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