Function restore

Synopsis

#include <include/flecs/addons/cpp/mixins/snapshot/impl.hpp>

void restore()

Description

No description yet.

Source

Lines 57-62 in include/flecs/addons/cpp/mixins/snapshot/impl.hpp.

void restore() {
    if (m_snapshot) {
        ecs_snapshot_restore(m_world.c_ptr(), m_snapshot);
        m_snapshot = nullptr;
    }
}