1 | #pragma once |
---|---|
2 | |
3 | #include <string> |
4 | #include "taichi/ui/utils/utils.h" |
5 | #include "taichi/rhi/arch.h" |
6 | |
7 | namespace taichi { |
8 | namespace ui { |
9 | |
10 | struct AppConfig { |
11 | std::string name; |
12 | int width{0}; |
13 | int height{0}; |
14 | int window_pos_x{0}; |
15 | int window_pos_y{0}; |
16 | bool vsync{false}; |
17 | bool show_window{true}; |
18 | std::string package_path; |
19 | Arch ti_arch; |
20 | }; |
21 | |
22 | } // namespace ui |
23 | } // namespace taichi |
24 |