render-config.json 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522
  1. {
  2. "$schema": "./schema.json",
  3. "features": {
  4. "base": {
  5. "label": "i18n:ENGINE.features.core.label",
  6. "description": "i18n:ENGINE.features.core.description",
  7. "default": true,
  8. "enginePlugin": true,
  9. "readonly": true,
  10. "required": true
  11. },
  12. "gfx-webgl": {
  13. "default": true,
  14. "label": "i18n:ENGINE.features.gfx_webgl.label",
  15. "description": "i18n:ENGINE.features.gfx_webgl.description",
  16. "category": "graphics",
  17. "enginePlugin": true,
  18. "envCondition": "$HTML5 || $MINIGAME || $RUNTIME_BASED"
  19. },
  20. "gfx-webgl2": {
  21. "label": "i18n:ENGINE.features.gfx_webgl2.label",
  22. "description": "i18n:ENGINE.features.gfx_webgl2.description",
  23. "category": "graphics",
  24. "enginePlugin": true,
  25. "envCondition": "$HTML5 || $MINIGAME || $RUNTIME_BASED"
  26. },
  27. "gfx-webgpu": {
  28. "label": "i18n:ENGINE.features.gfx_webgpu.label",
  29. "description": "i18n:ENGINE.features.gfx_webgpu.description",
  30. "category": "graphics",
  31. "enginePlugin": false,
  32. "envCondition": "$HTML5 || $COCOS_RUNTIME"
  33. },
  34. "animation": {
  35. "label": "i18n:ENGINE.features.animation.label",
  36. "description": "i18n:ENGINE.features.animation.description",
  37. "default": true,
  38. "category": "animation"
  39. },
  40. "skeletal-animation": {
  41. "label": "i18n:ENGINE.features.skeletal_animation.label",
  42. "description": "i18n:ENGINE.features.skeletal_animation.description",
  43. "default": true,
  44. "dependencies": [
  45. "animation"
  46. ],
  47. "category": "animation"
  48. },
  49. "3d": {
  50. "default": true,
  51. "label": "i18n:ENGINE.features.base_3d.label",
  52. "description": "i18n:ENGINE.features.base_3d.description",
  53. "enginePlugin": true,
  54. "isNativeModule": true,
  55. "readonly": false,
  56. "dependencies": [
  57. "meshopt"
  58. ],
  59. "category": "3d"
  60. },
  61. "meshopt": {
  62. "default": false,
  63. "hidden": true,
  64. "category": "3d"
  65. },
  66. "2d": {
  67. "default": true,
  68. "label": "i18n:ENGINE.features.base_2d.label",
  69. "description": "i18n:ENGINE.features.base_2d.description",
  70. "category": "2d",
  71. "readonly": false,
  72. "enginePlugin": true
  73. },
  74. "sorting-2d": {
  75. "default": false,
  76. "label": "i18n:ENGINE.features.sorting_2d.label",
  77. "description": "i18n:ENGINE.features.sorting_2d.description",
  78. "category": "2d",
  79. "dependencies": [
  80. "2d"
  81. ],
  82. "enginePlugin": true
  83. },
  84. "rich-text": {
  85. "default": true,
  86. "label": "i18n:ENGINE.features.rich_text.label",
  87. "description": "i18n:ENGINE.features.rich_text.description",
  88. "category": "2d",
  89. "dependencies": [
  90. "2d"
  91. ],
  92. "enginePlugin": true
  93. },
  94. "mask": {
  95. "default": true,
  96. "label": "i18n:ENGINE.features.mask.label",
  97. "description": "i18n:ENGINE.features.mask.description",
  98. "category": "2d",
  99. "dependencies": [
  100. "2d",
  101. "graphics"
  102. ],
  103. "enginePlugin": true
  104. },
  105. "graphics": {
  106. "default": true,
  107. "label": "i18n:ENGINE.features.graphics_2d.label",
  108. "description": "i18n:ENGINE.features.graphics_2d.description",
  109. "category": "2d",
  110. "dependencies": [
  111. "2d"
  112. ],
  113. "enginePlugin": true
  114. },
  115. "ui-skew": {
  116. "default": true,
  117. "label": "i18n:ENGINE.features.ui_skew.label",
  118. "description": "i18n:ENGINE.features.ui_skew.description",
  119. "category": "2d",
  120. "dependencies": [
  121. "2d"
  122. ],
  123. "enginePlugin": true
  124. },
  125. "affine-transform": {
  126. "label": "i18n:ENGINE.features.affine_transform.label",
  127. "description": "i18n:ENGINE.features.affine_transform.description",
  128. "default": true,
  129. "category": "2d"
  130. },
  131. "ui": {
  132. "default": true,
  133. "label": "i18n:ENGINE.features.ui.label",
  134. "description": "i18n:ENGINE.features.ui.description",
  135. "category": "2d",
  136. "dependencies": [
  137. "2d"
  138. ],
  139. "enginePlugin": true
  140. },
  141. "particle": {
  142. "default": true,
  143. "label": "i18n:ENGINE.features.particle.label",
  144. "description": "i18n:ENGINE.features.particle.description",
  145. "category": "3d",
  146. "dependencies": [
  147. "3d"
  148. ],
  149. "enginePlugin": true
  150. },
  151. "physics": {
  152. "label": "i18n:ENGINE.features.physics.label",
  153. "description": "i18n:ENGINE.features.physics.description",
  154. "category": "3d",
  155. "dependencies": [
  156. "3d"
  157. ],
  158. "options": {
  159. "physics-ammo": {
  160. "label": "i18n:ENGINE.features.physics_ammo.label",
  161. "description": "i18n:ENGINE.features.physics_ammo.description",
  162. "default": true,
  163. "isNativeModule": true,
  164. "flags": {
  165. "LOAD_BULLET_MANUALLY": {
  166. "label": "i18n:ENGINE.features.flags.bullet.loadManual.label",
  167. "description": "i18n:ENGINE.features.flags.bullet.loadManual.description",
  168. "default": false,
  169. "ui-type": "checkbox"
  170. }
  171. }
  172. },
  173. "physics-cannon": {
  174. "label": "i18n:ENGINE.features.physics_cannon.label",
  175. "description": "i18n:ENGINE.features.physics_cannon.description"
  176. },
  177. "physics-physx": {
  178. "label": "i18n:ENGINE.features.physics_physx.label",
  179. "cmakeConfig": "USE_PHYSICS_PHYSX",
  180. "description": "i18n:ENGINE.features.physics_physx.description",
  181. "isNativeModule": true,
  182. "flags": {
  183. "LOAD_PHYSX_MANUALLY": {
  184. "label": "i18n:ENGINE.features.flags.physx.loadManual.label",
  185. "description": "i18n:ENGINE.features.flags.physx.loadManual.description",
  186. "default": false,
  187. "ui-type": "checkbox"
  188. }
  189. }
  190. },
  191. "physics-builtin": {
  192. "label": "i18n:ENGINE.features.physics_builtin.label",
  193. "description": "i18n:ENGINE.features.physics_builtin.description"
  194. }
  195. }
  196. },
  197. "physics-2d": {
  198. "label": "i18n:ENGINE.features.physics_2d.label",
  199. "description": "i18n:ENGINE.features.physics_2d.description",
  200. "category": "2d",
  201. "dependencies": [
  202. "2d"
  203. ],
  204. "options": {
  205. "physics-2d-box2d": {
  206. "label": "i18n:ENGINE.features.physics_2d_box2d.label",
  207. "description": "i18n:ENGINE.features.physics_2d_box2d.description",
  208. "default": true,
  209. "isNativeModule": true
  210. },
  211. "physics-2d-box2d-wasm": {
  212. "label": "i18n:ENGINE.features.physics_2d_box2d_wasm.label",
  213. "description": "i18n:ENGINE.features.physics_2d_box2d_wasm.description",
  214. "flags": {
  215. "LOAD_BOX2D_MANUALLY": {
  216. "label": "i18n:ENGINE.features.flags.box2d.loadManual.label",
  217. "description": "i18n:ENGINE.features.flags.box2d.loadManual.description",
  218. "ui-type": "checkbox",
  219. "default": false
  220. }
  221. }
  222. },
  223. "physics-2d-builtin": {
  224. "label": "i18n:ENGINE.features.physics_2d_builtin.label",
  225. "description": "i18n:ENGINE.features.physics_2d_builtin.description"
  226. },
  227. "physics-2d-box2d-jsb": {
  228. "isNativeModule": true,
  229. "cmakeConfig": "USE_BOX2D_JSB",
  230. "label": "i18n:ENGINE.features.physics_2d_box2d_jsb.label",
  231. "description": "i18n:ENGINE.features.physics_2d_box2d_jsb.description",
  232. "envCondition": "$NATIVE",
  233. "fallback": "physics-2d-box2d-wasm"
  234. }
  235. }
  236. },
  237. "intersection-2d": {
  238. "default": true,
  239. "label": "i18n:ENGINE.features.intersection_2d.label",
  240. "description": "i18n:ENGINE.features.intersection_2d.description",
  241. "enginePlugin": true,
  242. "category": "2d",
  243. "dependencies": [
  244. "2d"
  245. ]
  246. },
  247. "primitive": {
  248. "default": true,
  249. "label": "i18n:ENGINE.features.primitives.label",
  250. "description": "i18n:ENGINE.features.primitives.description",
  251. "enginePlugin": true,
  252. "category": "3d",
  253. "dependencies": [
  254. "3d"
  255. ]
  256. },
  257. "profiler": {
  258. "default": true,
  259. "label": "i18n:ENGINE.features.profiler.label",
  260. "description": "i18n:ENGINE.features.profiler.description",
  261. "enginePlugin": true
  262. },
  263. "occlusion-query": {
  264. "default": false,
  265. "label": "i18n:ENGINE.features.occlusion_query.label",
  266. "description": "i18n:ENGINE.features.occlusion_query.description",
  267. "cmakeConfig": "USE_OCCLUSION_QUERY",
  268. "enginePlugin": false,
  269. "category": "3d",
  270. "dependencies": [
  271. "3d"
  272. ]
  273. },
  274. "geometry-renderer": {
  275. "default": false,
  276. "label": "i18n:ENGINE.features.geometry_renderer.label",
  277. "description": "i18n:ENGINE.features.geometry_renderer.description",
  278. "cmakeConfig": "USE_GEOMETRY_RENDERER",
  279. "enginePlugin": true,
  280. "category": "3d",
  281. "dependencies": [
  282. "3d"
  283. ]
  284. },
  285. "debug-renderer": {
  286. "default": false,
  287. "label": "i18n:ENGINE.features.debug_renderer.label",
  288. "description": "i18n:ENGINE.features.debug_renderer.description",
  289. "cmakeConfig": "USE_DEBUG_RENDERER",
  290. "enginePlugin": false,
  291. "category": "3d",
  292. "dependencies": [
  293. "3d"
  294. ]
  295. },
  296. "particle-2d": {
  297. "default": true,
  298. "label": "i18n:ENGINE.features.particle_2d.label",
  299. "description": "i18n:ENGINE.features.particle_2d.description",
  300. "enginePlugin": true,
  301. "category": "2d",
  302. "dependencies": [
  303. "2d"
  304. ]
  305. },
  306. "audio": {
  307. "default": true,
  308. "label": "i18n:ENGINE.features.audio.label",
  309. "description": "i18n:ENGINE.features.audio.description",
  310. "cmakeConfig": "USE_AUDIO",
  311. "enginePlugin": true
  312. },
  313. "video": {
  314. "default": true,
  315. "label": "i18n:ENGINE.features.video.label",
  316. "description": "i18n:ENGINE.features.video.description",
  317. "cmakeConfig": "USE_VIDEO",
  318. "enginePlugin": true
  319. },
  320. "webview": {
  321. "default": true,
  322. "label": "i18n:ENGINE.features.webview.label",
  323. "description": "i18n:ENGINE.features.webview.description",
  324. "cmakeConfig": "USE_WEBVIEW",
  325. "enginePlugin": true
  326. },
  327. "tween": {
  328. "default": true,
  329. "label": "i18n:ENGINE.features.tween.label",
  330. "description": "i18n:ENGINE.features.tween.description",
  331. "enginePlugin": true
  332. },
  333. "websocket": {
  334. "default": true,
  335. "label": "i18n:ENGINE.features.websocket.label",
  336. "description": "i18n:ENGINE.features.websocket.description",
  337. "cmakeConfig": "USE_SOCKET",
  338. "enginePlugin": false,
  339. "category": "network"
  340. },
  341. "websocket-server": {
  342. "default": false,
  343. "label": "i18n:ENGINE.features.websocket_server.label",
  344. "description": "i18n:ENGINE.features.websocket_server.description",
  345. "cmakeConfig": "USE_WEBSOCKET_SERVER",
  346. "enginePlugin": false,
  347. "category": "network"
  348. },
  349. "terrain": {
  350. "default": true,
  351. "label": "i18n:ENGINE.features.terrain.label",
  352. "description": "i18n:ENGINE.features.terrain.description",
  353. "enginePlugin": true,
  354. "category": "3d",
  355. "dependencies": [
  356. "3d"
  357. ]
  358. },
  359. "light-probe": {
  360. "default": true,
  361. "label": "i18n:ENGINE.features.light_probe.label",
  362. "description": "i18n:ENGINE.features.light_probe.description",
  363. "enginePlugin": true,
  364. "category": "3d",
  365. "dependencies": [
  366. "3d"
  367. ]
  368. },
  369. "tiled-map": {
  370. "default": true,
  371. "label": "i18n:ENGINE.features.tiled_map.label",
  372. "description": "i18n:ENGINE.features.tiled_map.description",
  373. "enginePlugin": true,
  374. "category": "2d",
  375. "dependencies": [
  376. "2d"
  377. ]
  378. },
  379. "vendor-google": {
  380. "default": false,
  381. "label": "i18n:ENGINE.features.vendor_google.label",
  382. "description": "i18n:ENGINE.features.vendor_google.description",
  383. "enginePlugin": false,
  384. "isNativeModule": true,
  385. "cmakeConfig": "USE_VENDOR",
  386. "hidden": true,
  387. "envCondition": "$ANDROID"
  388. },
  389. "spine": {
  390. "label": "i18n:ENGINE.features.spine.label",
  391. "description": "i18n:ENGINE.features.spine.description",
  392. "category": "2d",
  393. "dependencies": [
  394. "2d"
  395. ],
  396. "options": {
  397. "spine-3.8": {
  398. "enginePlugin": true,
  399. "cmakeConfig": "USE_SPINE_3_8",
  400. "default": true,
  401. "isNativeModule": true,
  402. "label": "i18n:ENGINE.features.spine_38.label",
  403. "description": "i18n:ENGINE.features.spine_38.description",
  404. "flags": {
  405. "LOAD_SPINE_MANUALLY": {
  406. "label": "i18n:ENGINE.features.flags.spine.loadManual.label",
  407. "description": "i18n:ENGINE.features.flags.spine.loadManual.description",
  408. "ui-type": "checkbox",
  409. "default": false
  410. }
  411. }
  412. },
  413. "spine-4.2": {
  414. "enginePlugin": true,
  415. "cmakeConfig": "USE_SPINE_4_2",
  416. "default": false,
  417. "isNativeModule": true,
  418. "label": "i18n:ENGINE.features.spine_42.label",
  419. "description": "i18n:ENGINE.features.spine_42.description",
  420. "flags": {
  421. "LOAD_SPINE_MANUALLY": {
  422. "label": "i18n:ENGINE.features.flags.spine.loadManual.label",
  423. "description": "i18n:ENGINE.features.flags.spine.loadManual.description",
  424. "ui-type": "checkbox",
  425. "default": false
  426. }
  427. }
  428. }
  429. }
  430. },
  431. "dragon-bones": {
  432. "default": true,
  433. "label": "i18n:ENGINE.features.dragon_bones.label",
  434. "description": "i18n:ENGINE.features.dragon_bones.description",
  435. "cmakeConfig": "USE_DRAGONBONES",
  436. "enginePlugin": true,
  437. "category": "2d",
  438. "dependencies": [
  439. "2d"
  440. ]
  441. },
  442. "marionette": {
  443. "default": true,
  444. "label": "i18n:ENGINE.features.marionette.label",
  445. "description": "i18n:ENGINE.features.marionette.description",
  446. "enginePlugin": false,
  447. "dependencies": [
  448. "animation"
  449. ],
  450. "category": "animation"
  451. },
  452. "procedural-animation": {
  453. "default": false,
  454. "label": "i18n:ENGINE.features.procedural_animation.label",
  455. "description": "i18n:ENGINE.features.procedural_animation.description",
  456. "enginePlugin": false,
  457. "dependencies": [
  458. "animation"
  459. ],
  460. "category": "animation"
  461. },
  462. "custom-pipeline-post-process": {
  463. "default": false,
  464. "label": "i18n:ENGINE.features.custom_pipeline_post_process.label",
  465. "description": "i18n:ENGINE.features.custom_pipeline_post_process.description",
  466. "enginePlugin": false,
  467. "hidden": true
  468. },
  469. "render-pipeline": {
  470. "label": "i18n:ENGINE.features.render-pipeline.label",
  471. "description": "i18n:ENGINE.features.render-pipeline.description",
  472. "category": "graphics",
  473. "required": true,
  474. "hidden": true,
  475. "options": {
  476. "custom-pipeline": {
  477. "default": true,
  478. "enginePlugin": false
  479. },
  480. "legacy-pipeline": {
  481. "default": false,
  482. "enginePlugin": false
  483. }
  484. }
  485. },
  486. "xr": {
  487. "default": false,
  488. "label": "i18n:ENGINE.features.xr.label",
  489. "description": "i18n:ENGINE.features.xr.description",
  490. "enginePlugin": false,
  491. "envCondition": "$NATIVE || $HTML5"
  492. }
  493. },
  494. "categories": {
  495. "graphics": {
  496. "label": "i18n:ENGINE.features.graphics.label",
  497. "description": "i18n:ENGINE.features.graphics.description",
  498. "checkable": true,
  499. "required": true
  500. },
  501. "2d": {
  502. "label": "i18n:ENGINE.features.categories.2d.label",
  503. "description": "i18n:ENGINE.features.categories.2d.description",
  504. "checkable": true
  505. },
  506. "3d": {
  507. "label": "i18n:ENGINE.features.categories.3d.label",
  508. "description": "i18n:ENGINE.features.categories.3d.description",
  509. "checkable": true
  510. },
  511. "animation": {
  512. "label": "i18n:ENGINE.features.categories.animation.label",
  513. "description": "i18n:ENGINE.features.categories.animation.description",
  514. "checkable": true
  515. },
  516. "network": {
  517. "label": "i18n:ENGINE.features.categories.network.label",
  518. "description": "i18n:ENGINE.features.categories.network.description",
  519. "checkable": true
  520. }
  521. }
  522. }