2020-08-25 00:06:08 +00:00
|
|
|
# Cargo Features
|
|
|
|
|
|
|
|
## Default Features
|
|
|
|
|
|
|
|
### bevy_audio
|
|
|
|
|
|
|
|
Audio support. All audio formats support 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.
|
|
|
|
|
2020-09-16 20:02:53 +00:00
|
|
|
### render
|
2020-10-21 22:57:03 +00:00
|
|
|
|
2020-09-16 20:02:53 +00:00
|
|
|
The render pipeline and all render related plugins.
|
|
|
|
|
|
|
|
### dynamic_plugins
|
2020-10-21 22:57:03 +00:00
|
|
|
|
2020-09-16 20:02:53 +00:00
|
|
|
Plugins for dynamic loading (libloading)
|
|
|
|
|
2020-10-21 22:57:03 +00:00
|
|
|
### png
|
2020-08-25 00:06:08 +00:00
|
|
|
|
2020-10-21 22:57:03 +00:00
|
|
|
PNG picture format support.
|
2020-08-25 00:06:08 +00:00
|
|
|
|
|
|
|
### hdr
|
|
|
|
|
|
|
|
[HDR](https://en.wikipedia.org/wiki/High_dynamic_range) support.
|
|
|
|
|
|
|
|
### mp3
|
|
|
|
|
|
|
|
Audio of mp3 format support.
|
|
|
|
|
|
|
|
### x11
|
|
|
|
|
|
|
|
Make GUI applications use X11 procotol. You could enable wayland feature to override this.
|
|
|
|
|
|
|
|
## Optional Features
|
|
|
|
|
|
|
|
### profiler
|
|
|
|
|
|
|
|
For profiler.
|
|
|
|
|
|
|
|
### wgpu_trace
|
|
|
|
|
|
|
|
For tracing wgpu.
|
|
|
|
|
|
|
|
### flac
|
|
|
|
|
|
|
|
FLAC audio fromat support. It's included in bevy_audio feature.
|
|
|
|
|
|
|
|
### wav
|
|
|
|
|
|
|
|
WAV audio format support.
|
|
|
|
|
2020-10-21 22:57:03 +00:00
|
|
|
### vorbis
|
2020-08-25 00:06:08 +00:00
|
|
|
|
|
|
|
Vorbis audio format support.
|
|
|
|
|
|
|
|
### wayland
|
|
|
|
|
2020-10-21 22:57:03 +00:00
|
|
|
Enable this to use Wayland display server protocol other than X11.
|