Serializes the ImportResult to a .hfmodel file.
More...
#include <ModelSerializer.h>
|
| static constexpr uint32_t | MAGIC = 0x4C444F4D |
| |
| static constexpr uint32_t | VERSION = 1 |
| |
Serializes the ImportResult to a .hfmodel file.
This captures the hierarchy and asset references for instantiation
Definition at line 18 of file ModelSerializer.h.
◆ load()
| std::optional< ImportResult > hellfire::ModelSerializer::load |
( |
const std::filesystem::path & |
filepath | ) |
|
|
static |
◆ load_json()
| std::optional< ImportResult > hellfire::ModelSerializer::load_json |
( |
const std::filesystem::path & |
filepath | ) |
|
|
static |
◆ save()
| bool hellfire::ModelSerializer::save |
( |
const std::filesystem::path & |
filepath, |
|
|
const ImportResult & |
result |
|
) |
| |
|
static |
◆ save_json()
| bool hellfire::ModelSerializer::save_json |
( |
const std::filesystem::path & |
filepath, |
|
|
const ImportResult & |
result |
|
) |
| |
|
static |
◆ MAGIC
| constexpr uint32_t hellfire::ModelSerializer::MAGIC = 0x4C444F4D |
|
staticconstexpr |
◆ VERSION
| constexpr uint32_t hellfire::ModelSerializer::VERSION = 1 |
|
staticconstexpr |
The documentation for this class was generated from the following files: