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