Function tick

Synopsis

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

int32_t tick() const

Description

Get current tick.

Source

Lines 165-168 in include/flecs/addons/cpp/world.hpp.

int32_t tick() const {
    const ecs_world_info_t *stats = ecs_get_world_info(m_world);
    return stats->frame_count_total;
}