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

Safely wrap Animation for non owning const parameters.

Public Member Functions

constexpr AnimationConstParam (const AnimationRaw value)
 Constructs from const AnimationRaw.
 
constexpr AnimationConstParam (AnimationParam value)
 Constructs from AnimationParam.
 
constexpr AnimationConstParam (std::nullptr_t _=nullptr)
 Constructs null/invalid.
 
constexpr operator bool () const
 Converts to bool.
 
constexpr auto operator<=> (const AnimationConstParam &other) const =default
 Comparison.
 
constexpr operator const AnimationRaw () const
 Converts to underlying const AnimationRaw.
 
constexpr auto operator-> ()
 member access to underlying AnimationRaw.
 

Public Attributes

const AnimationRaw value
 parameter's const AnimationRaw
 

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