wren
Vulkan-based game engine
Loading...
Searching...
No Matches
mesh_loader.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <filesystem>
4
5#include "mesh.hpp"
6
7namespace wren {
8
9DEFINE_ERROR("MeshLoader", MeshLoaderError, ExtensionNotSupported)
10
11auto load_mesh(const std::filesystem::path& mesh_path) -> expected<Mesh>;
12
13} // namespace wren
Definition editor.hpp:14
auto load_mesh(const std::filesystem::path &mesh_path) -> expected< Mesh >
Definition mesh_loader.cpp:90
#define DEFINE_ERROR(cat_name, name,...)
This macro defines an enum with BOOST_DEFINE_ENUM_CLASS and hooks into the std::error_code system The...
Definition errors.hpp:90