Finality Engine
Loading...
Searching...
No Matches
ModelPipeline.h
Go to the documentation of this file.
1
6#pragma once
7
8#include "ModelAsset.h"
9
11{
12 ModelData Read(const std::filesystem::path& source, const ModelImportOptions& options, const std::filesystem::path& resources);
13 void Save(const ModelData& model, const std::filesystem::path& directory, const std::string& signature);
14 bool ReadCache(ModelData& model, const std::filesystem::path& directory, const std::string& signature);
15 void PrepareMaterials(ModelData& model, const std::filesystem::path& directory, const std::filesystem::path& engineAssets);
16}
Loads imported model data and instantiates preserved model hierarchies.
void Save(const ModelData &model, const std::filesystem::path &directory, const std::string &signature)
bool ReadCache(ModelData &model, const std::filesystem::path &directory, const std::string &signature)
ModelData Read(const std::filesystem::path &source, const ModelImportOptions &options, const std::filesystem::path &resources)
void PrepareMaterials(ModelData &model, const std::filesystem::path &directory, const std::filesystem::path &engineAssets)
Imported nodes, submeshes, materials, dependencies, diagnostics and model-space bounds.
Definition ModelAsset.h:56