Function get_stage_count

Synopsis

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

int32_t get_stage_count() const

Description

Get number of configured stages. Return number of stages set by set_stage_count.

Returns
The number of stages used for threading.

Source

Lines 307-309 in include/flecs/addons/cpp/world.hpp.

int32_t get_stage_count() const {
    return ecs_get_stage_count(m_world);
}