|
|
using | ValueType = uint32_t |
| |
|
|
constexpr | ID (uint32_t index, uint32_t version) noexcept |
| |
|
constexpr uint32_t | Index () const noexcept |
| |
|
constexpr uint32_t | Version () const noexcept |
| |
|
constexpr ValueType | Raw () const noexcept |
| |
|
constexpr bool | operator== (const ID &other) const noexcept=default |
| |
|
constexpr bool | operator!= (const ID &other) const noexcept=default |
| |
|
constexpr | operator bool () const noexcept |
| |
|
|
static constexpr ID | Invalid () noexcept |
| |
|
static constexpr ID | FromRaw (ValueType raw) noexcept |
| |
|
|
static constexpr uint32_t | IndexBits = 24 |
| |
|
static constexpr uint32_t | VersionBits = 8 |
| |
|
static constexpr ValueType | IndexMask = (1u << IndexBits) - 1 |
| |
|
static constexpr ValueType | VersionMask = (1u << VersionBits) - 1 |
| |
The documentation for this class was generated from the following file:
- engine/src/PixelBullet/Math/ID.hpp