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