Opaque handle to a specific decal in a Decals3D set.
More...
#include <GREM/graphics_3d/Decals3D.hpp>
|
| constexpr | DecalID () noexcept=default |
| | Construct an invalid decal handle.
|
| constexpr | operator bool () const noexcept |
| | Check if this handle is potentially valid.
|
| constexpr bool | operator== (const DecalID &other) const noexcept=default |
| | Compare this handle to another for equality.
|
| constexpr std::strong_ordering | operator<=> (const DecalID &other) const noexcept=default |
| | Compare this handle to another.
|
Opaque handle to a specific decal in a Decals3D set.
◆ DecalID()
| grem::graphics::DecalID::DecalID |
( |
| ) |
|
|
constexprdefaultnoexcept |
Construct an invalid decal handle.
◆ operator bool()
| grem::graphics::DecalID::operator bool |
( |
| ) |
const |
|
inlineexplicitconstexprnoexcept |
Check if this handle is potentially valid.
- Returns
- true if this handle is potentially valid, false if it is equal to a default-constructed invalid handle.
◆ operator==()
| bool grem::graphics::DecalID::operator== |
( |
const DecalID & | other | ) |
const |
|
nodiscardconstexprdefaultnoexcept |
Compare this handle to another for equality.
- Parameters
-
| other | the handle to compare this one to. |
- Returns
- true if the handles are equal, false otherwise.
◆ operator<=>()
| std::strong_ordering grem::graphics::DecalID::operator<=> |
( |
const DecalID & | other | ) |
const |
|
nodiscardconstexprdefaultnoexcept |
Compare this handle to another.
- Parameters
-
| other | the handle to compare this one to. |
- Returns
- a strong ordering between the two handles.
The documentation for this struct was generated from the following file: