Unravel Engine C++ Reference
Loading...
Searching...
No Matches
asset_compiler.h
Go to the documentation of this file.
1#pragma once
4
5namespace unravel
6{
7namespace asset_compiler
8{
9
10template<typename T>
11auto compile(asset_manager& am, const fs::path& key, const fs::path& output_key, uint32_t flags = 0) -> bool;
12
13template<typename T>
14auto read_importer(asset_manager& am, const fs::path& key) -> std::shared_ptr<asset_importer_meta>;
15
16
17} // namespace asset_compiler
18
19
20
21
22} // namespace unravel
Manages assets, including loading, unloading, and storage.
auto read_importer(asset_manager &am, const fs::path &key) -> std::shared_ptr< asset_importer_meta >
auto compile(asset_manager &am, const fs::path &key, const fs::path &output_key, uint32_t flags=0) -> bool