Function merge

Synopsis

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

void merge()

Description

Merge world or stage. When automatic merging is disabled, an application can call this operation on either an individual stage, or on the world which will merge all stages. This operation may only be called when staging is not enabled (either after progress() or after readonly_end()).

This operation may be called on an already merged stage or world.

Source

Lines 363-365 in include/flecs/addons/cpp/world.hpp.

void merge() {
    ecs_merge(m_world);
}