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