wren
Vulkan-based game engine
Loading...
Searching...
No Matches
serialization.cpp File Reference
#include "scene/serialization.hpp"
#include <fstream>
#include <toml++/toml.hpp>
#include "scene/components/mesh.hpp"
#include "scene/components/transform.hpp"
#include "scene/entity.hpp"
#include "wren/logging/log.hpp"
Include dependency graph for serialization.cpp:

Namespaces

namespace  wren
namespace  wren::scene

Functions

void wren::scene::serialize_id (toml::table &out, const flecs::entity &entity, const flecs::id &id)
void wren::scene::serialize (toml::table &table, const math::Vec3f &vec)
void wren::scene::serialize (toml::table &table, const components::Transform &transform)
void wren::scene::serialize (toml::table &table, const components::MeshRenderer &mesh_renderer)
auto wren::scene::serialize (const std::shared_ptr< Scene > &scene, const std::filesystem::path &out_file) -> expected< void >