NoJobEngine 2.0.7
Loading...
Searching...
No Matches
SceneSerializer.h
Go to the documentation of this file.
1
6#pragma once
7#include <filesystem>
8#include <memory>
9
10namespace NoJob
11{
12 class Scene;
13 class Mesh;
14 class Material;
15
17 {
18 public:
19 static bool Save(const Scene& scene, const std::filesystem::path& path);
20 static bool Load(
21 Scene& scene,
22 const std::filesystem::path& path,
23 const std::shared_ptr<Mesh>& defaultMesh,
24 const std::shared_ptr<Material>& defaultMaterial);
25 };
26}
static bool Load(Scene &scene, const std::filesystem::path &path, const std::shared_ptr< Mesh > &defaultMesh, const std::shared_ptr< Material > &defaultMaterial)
static bool Save(const Scene &scene, const std::filesystem::path &path)