wren
Vulkan-based game engine
Loading...
Searching...
No Matches
wren::scene Namespace Reference

Namespaces

namespace  components
 

Classes

class  Entity
 
class  Scene
 

Functions

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

Function Documentation

◆ deserialize() [1/4]

auto wren::scene::deserialize ( const std::filesystem::path & project_root,
const std::filesystem::path & file,
const std::shared_ptr< Scene > & scene ) -> expected< void >
Here is the call graph for this function:

◆ deserialize() [2/4]

void wren::scene::deserialize ( const toml::table & table,
components::Transform & transform )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ deserialize() [3/4]

void wren::scene::deserialize ( const toml::table & table,
const std::filesystem::path & project_root,
components::MeshRenderer & mesh_renderer )
Here is the call graph for this function:

◆ deserialize() [4/4]

void wren::scene::deserialize ( const toml::table & table,
math::Vec3f & vec )
Here is the call graph for this function:

◆ serialize() [1/4]

auto wren::scene::serialize ( const std::shared_ptr< Scene > & scene,
const std::filesystem::path & out_file ) -> expected< void >
Here is the call graph for this function:

◆ serialize() [2/4]

void wren::scene::serialize ( toml::table & table,
const components::MeshRenderer & mesh_renderer )
Here is the call graph for this function:

◆ serialize() [3/4]

void wren::scene::serialize ( toml::table & table,
const components::Transform & transform )
Here is the call graph for this function:

◆ serialize() [4/4]

void wren::scene::serialize ( toml::table & table,
const math::Vec3f & vec )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ serialize_id()

void wren::scene::serialize_id ( toml::table & out,
const flecs::entity & entity,
const flecs::id & id )
Here is the call graph for this function:
Here is the caller graph for this function: