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