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

Safely wrap Texture for non owning const parameters.

Public Member Functions

constexpr TextureConstRef (const TextureRaw value)
 Constructs from const TextureRaw.
 
constexpr TextureConstRef (std::nullptr_t=nullptr)
 Constructs null/invalid.
 
constexpr operator bool () const
 Converts to bool.
 
constexpr auto operator<=> (const TextureConstRef &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: