Archived
1
Fork 0
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
prism/tools/modelcompiler/include/modeleditor.hpp
Joshua Goins a6a712cd0c When invoking the model compiler in "no ui" mode, specify absolute path
This is going to be used in the future "asset pipeline" tool. The auto
export animations and materials flags are also turned off in "no ui"
mode.
2022-05-21 17:50:55 -04:00

21 lines
429 B
C++
Executable file

#pragma once
#include "commoneditor.hpp"
class ModelEditor : public CommonEditor {
public:
ModelEditor();
void drawUI() override;
struct Flags {
bool hide_ui = false;
bool compile_static = false;
bool export_animations = true;
bool export_materials = true;
} flags;
std::string data_path, model_path;
void compile_model(std::string compiled_model_path);
};