wren
Vulkan-based game engine
Loading...
Searching...
No Matches
serialization.cpp File Reference
#include "scene/serialization.hpp"
#include <spdlog/spdlog.h>
#include <toml++/toml.hpp>
#include "scene/components/mesh.hpp"
#include "scene/components/transform.hpp"
#include "scene/entity.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 >