Nameless Engine
Loading...
Searching...
No Matches
MeshImporter.h
1#pragma once
2
3// Standard.
4#include <filesystem>
5#include <optional>
6#include <functional>
7
8// Custom.
9#include "misc/Error.h"
10
11namespace ne {
17 public:
18 MeshImporter() = delete;
19
35 [[nodiscard]] static std::optional<Error> importMesh(
36 const std::filesystem::path& pathToFile,
37 const std::string& sPathToOutputDirRelativeRes,
38 const std::string& sOutputDirectoryName,
39 const std::function<void(std::string_view)>& onProgress);
40 };
41}
Definition: MeshImporter.h:16
static std::optional< Error > importMesh(const std::filesystem::path &pathToFile, const std::string &sPathToOutputDirRelativeRes, const std::string &sOutputDirectoryName, const std::function< void(std::string_view)> &onProgress)
Definition: MeshImporter.cpp:465