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