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