Function readonly_end

Synopsis

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

void readonly_end()

Description

End staging. Leaves staging mode. After this operation the world may be directly mutated again. By default this operation also merges data back into the world, unless automerging was disabled explicitly.

This function should only be ran from the main thread.

Source

Lines 257-259 in include/flecs/addons/cpp/world.hpp.

void readonly_end() {
    ecs_readonly_end(m_world);
}