Clementine
Public Types | Static Public Attributes | List of all members
entt::entt_traits< std::uint64_t > Struct Template Reference

Entity traits for a 64 bits entity identifier. More...

#include <entt.hpp>

Public Types

using entity_type = std::uint64_t
 Underlying entity type.
 
using version_type = std::uint32_t
 Underlying version type.
 
using difference_type = std::int64_t
 Difference type.
 

Static Public Attributes

static constexpr entity_type entity_mask = 0xFFFFFFFF
 Mask to use to get the entity number out of an identifier.
 
static constexpr entity_type version_mask = 0xFFFFFFFF
 Mask to use to get the version out of an identifier.
 
static constexpr std::size_t entity_shift = 32u
 Extent of the entity number within an identifier.
 

Detailed Description

template<>
struct entt::entt_traits< std::uint64_t >

Entity traits for a 64 bits entity identifier.

A 64 bits entity identifier guarantees:


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