NoJobEngine 2.0.7
Loading...
Searching...
No Matches
MaterialSerializer.h
Go to the documentation of this file.
1
6#pragma once
8#include <filesystem>
9#include <memory>
10namespace NoJob { class Material; class Shader; class AssetRegistry;
12public:
13 static bool Save(const Material&,const std::filesystem::path&,const AssetRegistry&);
14 static std::shared_ptr<Material> Load(const std::filesystem::path&,const std::shared_ptr<Shader>&,AssetRegistry&);
15};}
Asset declarations for the Asset Management subsystem.
static std::shared_ptr< Material > Load(const std::filesystem::path &, const std::shared_ptr< Shader > &, AssetRegistry &)
static bool Save(const Material &, const std::filesystem::path &, const AssetRegistry &)