Finality Engine
Toggle main menu visibility
Loading...
Searching...
No Matches
ModelPipeline.h
Go to the documentation of this file.
1
6
#pragma once
7
8
#include "
ModelAsset.h
"
9
10
namespace
FINALITY::ModelPipeline
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
}
ModelAsset.h
Loads imported model data and instantiates preserved model hierarchies.
FINALITY::ModelPipeline
Definition
ModelPipeline.h:11
FINALITY::ModelPipeline::Save
void Save(const ModelData &model, const std::filesystem::path &directory, const std::string &signature)
FINALITY::ModelPipeline::ReadCache
bool ReadCache(ModelData &model, const std::filesystem::path &directory, const std::string &signature)
FINALITY::ModelPipeline::Read
ModelData Read(const std::filesystem::path &source, const ModelImportOptions &options, const std::filesystem::path &resources)
FINALITY::ModelPipeline::PrepareMaterials
void PrepareMaterials(ModelData &model, const std::filesystem::path &directory, const std::filesystem::path &engineAssets)
FINALITY::ModelData
Imported nodes, submeshes, materials, dependencies, diagnostics and model-space bounds.
Definition
ModelAsset.h:56
FINALITY::ModelImportOptions
Definition
ModelImportOptions.h:17
FinalityEngine
src
Assets
ModelPipeline.h
Generated by
1.18.0