-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.schema.json
107 lines (107 loc) · 3.24 KB
/
config.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Project-WGX 配置文件",
"description": "Project-WGX 配置文件",
"type": "object",
"properties": {
"logLevel": {
"type": "string",
"description": "日志级别",
"enum": [
"debug",
"info",
"warn",
"error"
]
},
"controlWindowWidth": {
"type": "integer",
"description": "控制窗口宽度"
},
"controlWindowHeight": {
"type": "integer",
"description": "控制窗口高度"
},
"windowTitle": {
"type": "string",
"description": "绘图输出窗口标题"
},
"windowWidth": {
"type": "integer",
"description": "绘图输出窗口宽度"
},
"windowHeight": {
"type": "integer",
"description": "绘图输出窗口高度"
},
"renderMode": {
"type": "string",
"description": "渲染模式",
"enum": [
"vulkan",
"gles2"
]
},
"vulkanConfig": {
"type": "object",
"description": "Vulkan 配置",
"properties": {
"physicalDeviceID": {
"type": "integer",
"description": "物理设备 ID"
},
"validationLayers": {
"type": "boolean",
"description": "启用验证层"
},
"vsync": {
"type": "integer",
"description": "垂直同步模式",
"enum": [
0,
1,
2
]
},
"enableMSAA": {
"type": "boolean",
"description": "启用多重采样抗锯齿"
},
"msaaSampleCount": {
"type": "integer",
"description": "多重采样抗锯齿采样次数"
},
"enableAnisotropy": {
"type": "boolean",
"description": "启用各向异性过滤"
},
"anisotropyLevel": {
"type": "number",
"description": "各向异性过滤级别"
},
"forceUNORM": {
"type": "boolean",
"description": "强制使用 UNORM 格式"
}
}
},
"gles2Config": {
"type": "object",
"description": "GLES2 配置",
"properties": {
"enableMSAA": {
"type": "boolean",
"description": "启用多重采样抗锯齿"
},
"enableLineSmooth": {
"type": "boolean",
"description": "启用线条平滑"
}
}
},
"pluginConfigs": {
"type": "object",
"description": "插件配置"
}
}
}