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