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