bevy/docs/cargo_features.md
memoryruins f5146c1896
Update headless example / add feature docs (#502)
* Update headless example

* Add missing docs for features
2020-09-16 13:02:53 -07:00

995 B

Cargo Features

Default Features

bevy_audio

Audio support. All audio formats support depends on this.

bevy_gltf

glTF support.

bevy_winit

GUI support.

bevy_wgpu

Make use of GPU via WebGPU support.

render

The render pipeline and all render related plugins.

dynamic_plugins

Plugins for dynamic loading (libloading)

png

PNG picture format support.

hdr

HDR 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.

vorbis

Vorbis audio format support.

wayland

Enable this to use Wayland display server protocol other than X11.