SDL3pp
A slim C++ wrapper for SDL3
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
SDL::TextureConstParam Struct Reference

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
 

The documentation for this struct was generated from the following file: