mirror of
https://github.com/bevyengine/bevy
synced 2024-12-04 02:19:15 +00:00
e03f17ba7f
add bevy_log plugin
73 lines
1.2 KiB
Markdown
73 lines
1.2 KiB
Markdown
# Cargo Features
|
|
|
|
## Default Features
|
|
|
|
### bevy_audio
|
|
|
|
Audio support. Support for all audio formats depends on this.
|
|
|
|
### bevy_gltf
|
|
|
|
[glTF](https://www.khronos.org/gltf/) support.
|
|
|
|
### bevy_winit
|
|
|
|
GUI support.
|
|
|
|
### bevy_wgpu
|
|
|
|
Make use of GPU via [WebGPU](https://gpuweb.github.io/gpuweb/) support.
|
|
|
|
### render
|
|
|
|
The render pipeline and all render related plugins.
|
|
|
|
### dynamic_plugins
|
|
|
|
Plugins for dynamic loading (libloading)
|
|
|
|
### png
|
|
|
|
PNG picture format support.
|
|
|
|
### hdr
|
|
|
|
[HDR](https://en.wikipedia.org/wiki/High_dynamic_range) support.
|
|
|
|
### mp3
|
|
|
|
MP3 audio format support.
|
|
|
|
### x11
|
|
|
|
Make GUI applications use X11 protocol. You could enable wayland feature to override this.
|
|
|
|
## Optional Features
|
|
|
|
### trace
|
|
|
|
Enables system tracing (useful in tandem wit a feature like trace_chrome)
|
|
|
|
### trace_chrome
|
|
|
|
Enables [tracing-chrome](https://github.com/thoren-d/tracing-chrome) as bevy_log output. This allows you to visualize system execution.
|
|
|
|
### wgpu_trace
|
|
|
|
For tracing wgpu.
|
|
|
|
### flac
|
|
|
|
FLAC audio format support. It's included in bevy_audio feature.
|
|
|
|
### wav
|
|
|
|
WAV audio format support.
|
|
|
|
### vorbis
|
|
|
|
Vorbis audio format support.
|
|
|
|
### wayland
|
|
|
|
Enable this to use Wayland display server protocol other than X11.
|