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