Function get_generation

Synopsis

#include <include/flecs/addons/cpp/world.hpp>

uint32_t get_generation(flecs::entity_t e)

Description

Return entity generation.

Source

Lines 907-909 in include/flecs/addons/cpp/world.hpp.

inline uint32_t get_generation(flecs::entity_t e) {
    return ECS_GENERATION(e);
}