Toast Engine
Loading...
Searching...
No Matches
vox_intermediates.hpp
Go to the documentation of this file.
1
6
7#pragma once
8#include "vox_import.hpp"
9
10#include <cstdint>
11#include <filesystem>
12#include <string>
13#include <toast/export.hpp>
14#include <vector>
15
16namespace assets {
17
19 std::string file_name;
20
21 uint32_t model = 0;
22
23 uint32_t solid_voxels = 0;
24};
25
27 std::string base_name;
28
29 std::vector<VoxIntermediateModel> models;
30
31 std::string palette_file_name;
32
33 std::string manifest_file_name;
34
35 std::vector<std::string> warnings;
36};
37
39[[nodiscard]]
40TOAST_API auto
41 writeVoxIntermediates(const std::filesystem::path& source, const std::filesystem::path& out_dir, uint64_t palette_uid)
43
45TOAST_API void voxManifestToPrefab(const std::filesystem::path& manifest_path, const std::filesystem::path& out_path);
46
47}
Definition vox_intermediates.hpp:18
Definition vox_intermediates.hpp:26