You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# PROFILE: The default 2D Bevy experience. This includes the core Bevy framework, 2D functionality, Bevy UI, scenes, audio, and picking.
131
+
2d = [
132
+
"default_app",
133
+
"default_platform",
134
+
"2d_api",
135
+
"2d_bevy_render",
136
+
"ui",
137
+
"scene",
138
+
"audio",
139
+
"picking",
140
+
]
141
+
142
+
# PROFILE: The default 3D Bevy experience. This includes the core Bevy framework, 3D functionality, Bevy UI, scenes, audio, and picking.
143
+
3d = [
144
+
"default_app",
145
+
"default_platform",
146
+
"3d_api",
147
+
"3d_bevy_render",
148
+
"ui",
149
+
"scene",
150
+
"audio",
151
+
"picking",
152
+
]
153
+
154
+
# PROFILE: The default Bevy UI experience. This includes the core Bevy framework, Bevy UI, scenes, audio, and picking.
155
+
ui = [
156
+
"default_app",
157
+
"default_platform",
158
+
"ui_api",
159
+
"ui_bevy_render",
160
+
"scene",
161
+
"audio",
162
+
"picking",
163
+
]
164
+
165
+
# COLLECTION: Enable this feature during development to improve the development experience. This adds features like asset hot-reloading and debugging tools. This should not be enabled for published apps!
166
+
dev = [
167
+
"debug", # TODO: rename this to something more specific ... this is a "debug ECS names" feature
168
+
"bevy_dev_tools",
169
+
"file_watcher",
170
+
]
171
+
172
+
# COLLECTION: Features used to build audio Bevy apps.
173
+
audio = ["bevy_audio", "vorbis"]
174
+
175
+
# COLLECTION: Features used to compose Bevy scenes.
# COLLECTION: The core pieces that most apps need. This serves as a baseline feature set for other higher level feature collections (such as "2d" and "3d"). It is also useful as a baseline feature set for scenarios like headless apps that require no rendering (ex: command line tools, servers, etc).
182
+
default_app = [
130
183
"async_executor",
184
+
"bevy_asset",
185
+
"bevy_input_focus",
186
+
"bevy_log",
187
+
"bevy_state",
188
+
"bevy_window",
189
+
"custom_cursor",
190
+
"reflect_auto_register",
191
+
]
192
+
193
+
# COLLECTION: These are platform support features, such as OS support/features, windowing and input backends, etc.
194
+
default_platform = [
195
+
"std",
131
196
"android-game-activity",
132
197
"android_shared_stdcxx",
133
-
"gltf_animation",
134
-
"bevy_asset",
135
-
"bevy_audio",
136
-
"bevy_color",
137
-
"bevy_core_pipeline",
138
-
"bevy_post_process",
139
-
"bevy_anti_alias",
140
198
"bevy_gilrs",
199
+
"bevy_winit",
200
+
"default_font",
201
+
"multi_threaded",
202
+
"webgl2",
203
+
"x11",
204
+
"wayland",
205
+
"sysinfo_plugin",
206
+
]
207
+
208
+
# COLLECTION: Default scene definition features. Note that this does not include an actual renderer, such as bevy_render (Bevy's default render backend).
209
+
common_api = [
210
+
"bevy_animation",
211
+
"bevy_camera",
212
+
"bevy_color",
141
213
"bevy_gizmos",
142
-
"bevy_gltf",
143
-
"bevy_input_focus",
144
-
"bevy_log",
145
-
"bevy_pbr",
146
-
"bevy_picking",
147
-
"bevy_render",
148
-
"bevy_scene",
149
214
"bevy_image",
150
215
"bevy_mesh",
151
-
"bevy_mikktspace",
152
-
"bevy_camera",
153
-
"bevy_light",
154
216
"bevy_shader",
155
-
"bevy_sprite",
156
-
"bevy_sprite_render",
157
-
"bevy_state",
158
217
"bevy_text",
159
-
"bevy_ui",
160
-
"bevy_ui_render",
161
-
"bevy_window",
162
-
"bevy_winit",
163
-
"custom_cursor",
164
-
"default_font",
165
218
"hdr",
219
+
"png",
220
+
]
221
+
222
+
# COLLECTION: Features used to build 2D Bevy apps (does not include a render backend). You generally don't need to worry about this unless you are using a custom renderer.
223
+
2d_api = ["common_api", "bevy_sprite"]
224
+
225
+
# COLLECTION: Bevy's built-in 2D renderer, built on top of `bevy_render`
226
+
2d_bevy_render = [
227
+
"2d_api",
228
+
"bevy_render",
229
+
"bevy_core_pipeline",
230
+
"bevy_post_process",
231
+
"bevy_sprite_render",
232
+
]
233
+
234
+
# COLLECTION: Features used to build 3D Bevy apps (does not include a render backend). You generally don't need to worry about this unless you are using a custom renderer.
235
+
3d_api = [
236
+
"common_api",
237
+
"bevy_light",
238
+
"bevy_mikktspace",
166
239
"ktx2",
167
-
"mesh_picking",
168
-
"morph",
169
240
"morph_animation",
170
-
"multi_threaded",
171
-
"png",
172
-
"reflect_auto_register",
241
+
"morph",
173
242
"smaa_luts",
174
-
"sprite_picking",
175
-
"sysinfo_plugin",
176
243
"tonemapping_luts",
177
-
"ui_picking",
178
-
"vorbis",
179
-
"webgl2",
180
-
"x11",
181
-
"wayland",
182
-
"debug",
183
244
"zstd_rust",
184
245
]
185
246
186
-
# Recommended defaults for no_std applications
247
+
# COLLECTION: Bevy's built-in 3D renderer, built on top of `bevy_render`
248
+
3d_bevy_render = [
249
+
"3d_api",
250
+
"bevy_render",
251
+
"bevy_core_pipeline",
252
+
"bevy_anti_alias",
253
+
"bevy_gltf",
254
+
"bevy_pbr",
255
+
"bevy_post_process",
256
+
"gltf_animation",
257
+
]
258
+
259
+
# COLLECTION: Features used to build UI Bevy apps (does not include a render backend). You generally don't need to worry about this unless you are using a custom renderer.
260
+
ui_api = ["default_app", "common_api", "bevy_ui"]
261
+
262
+
# COLLECTION: Bevy's built-in UI renderer, built on top of `bevy_render`
263
+
ui_bevy_render = [
264
+
"ui_api",
265
+
"bevy_render",
266
+
"bevy_core_pipeline",
267
+
"bevy_ui_render",
268
+
]
269
+
270
+
# COLLECTION: Recommended defaults for no_std applications
0 commit comments