2#include <core/core.hpp>
3#include <core/scene/scene.hpp>
32 void save(
const std::filesystem::path& p_filepath);
41 bool load(
const std::filesystem::path& p_filepath,
42 const flecs::world& p_registry);
45 ref<scene> m_current_scene_ctx;
serializer is responsible for saving/loading scenes
Definition serializer.hpp:17
serializer(const ref< scene > &p_scene_ctx)
constructs a new serializer with a requirement to specify a scene to serialize
bool load(const std::filesystem::path &p_filepath, const flecs::world &p_registry)
void save(const std::filesystem::path &p_filepath)