Function ecs_snapshot_take

Synopsis

#include <include/flecs/addons/snapshot.h>

FLECS_API ecs_snapshot_t * ecs_snapshot_take(ecs_world_t *world)

Description

Create a snapshot. This operation makes a copy of the current state of the world.

Parameters

world - The world to snapshot.

Returns
The snapshot.

Source

Line 32 in include/flecs/addons/snapshot.h.