Files
cocos4/editor/engine-features/render-config.json
T
Santy-Wang ad4bff3988 Restructure Module (#7968)
* module restructure

* refine

* restructure module

* merge

* revert

* fix ci

* update import path of unit-test

* split 2d and ui

* add more module

* change audio adapter

* rename primitive

* config wechat plugin

* merge

* add category config

* merge

* merge
2020-12-24 19:07:26 +08:00

174 lines
5.2 KiB
JSON

{
"$schema": "./schema.json",
"features": {
"base": {
"label": "Core",
"description": "Core module.",
"required": true,
"default": ["base"],
"wechatPlugin": true
},
"graphcis": {
"label": "Graphcis API",
"multi": true,
"description": "Graphcis API used by GFX. There can be more than one API existed.",
"default": ["gfx-webgl", "gfx-webgl2"],
"options": {
"gfx-webgl": {
"required": true,
"label": "WebGL 1.0",
"description": "The WebGL 1.0 is required whenever.",
"wechatPlugin": true
},
"gfx-webgl2": {
"label": "WebGL 2.0",
"wechatPlugin": true
}
}
},
"3d": {
"default": ["3d"],
"label": "Core",
"description": "3D module",
"wechatPlugin": true,
"category": "3D Features"
},
"2d": {
"default": ["2d"],
"label": "Core",
"description": "2D module",
"category": "2D Features",
"wechatPlugin": true
},
"ui": {
"default": ["ui"],
"label": "UI",
"description": "UI module",
"category": "2D Features",
"wechatPlugin": true
},
"particle": {
"default": ["particle"],
"label": "Particle System",
"description": "Particle system module",
"category": "3D Features",
"wechatPlugin": true
},
"physics": {
"label": "Physics",
"description": "Physics(implementation).",
"default": ["physics-cannon"],
"category": "3D Features",
"options": {
"physics-ammo": {
"label": "ammo.js"
},
"physics-cannon": {
"label": "cannon.js"
},
"physics-builtin": {
"label": "builtin"
}
}
},
"physics-2d": {
"label": "Physics",
"description": "Physics 2D",
"default": ["physics-2d-box2d"],
"category": "2D Features",
"options": {
"physics-2d-box2d": {
"label": "box2d"
},
"physics-2d-builtin": {
"label": "builtin"
}
}
},
"intersection-2d": {
"default": ["intersection-2d"],
"label": "Intersection",
"description": "Intersection 2D.",
"wechatPlugin": true,
"category": "2D Features"
},
"primitive": {
"default": ["primitive"],
"label": "Primitive",
"description": "Primitive",
"wechatPlugin": true,
"category": "3D Features"
},
"profiler": {
"default": ["profiler"],
"label": "Profiler",
"description": "Profiler",
"wechatPlugin": true
},
"particle-2d": {
"default": ["particle-2d"],
"label": "Particle",
"description": "Particle 2D",
"wechatPlugin": true,
"category": "2D Features"
},
"audio": {
"default": ["audio"],
"label": "Audio",
"description": "Audio support.",
"native": "USE_AUDIO",
"wechatPlugin": true
},
"video": {
"default": ["video"],
"label": "VideoPlayer",
"description": "VideoPlayer support.",
"native": "USE_VIDEO",
"wechatPlugin": true
},
"webview": {
"default": ["webview"],
"label": "WebView",
"description": "WebView support.",
"native": "USE_WEBVIEW",
"wechatPlugin": true
},
"tween": {
"default": ["tween"],
"label": "Tween",
"description": "Tween support.",
"wechatPlugin": true
},
"terrain": {
"default": ["terrain"],
"label": "Terrain",
"description": "Terrain support",
"wechatPlugin": true,
"category": "3D Features"
},
"tiled-map": {
"default": ["tiled-map"],
"label": "TiledMap",
"description": "TiledMap support",
"wechatPlugin": true,
"category": "2D Features"
},
"spine": {
"default": ["spine"],
"label": "Spine",
"description": "Spine support",
"native": "USE_SPINE",
"wechatPlugin": true,
"category": "2D Features"
},
"dragon-bones": {
"default": ["dragon-bones"],
"label": "DragonBones",
"description": "Description support",
"native": "USE_DRAGONBONES",
"wechatPlugin": true,
"category": "2D Features"
}
}
}