Add documentation on feature flags to README.

This commit is contained in:
Robin KAY 2022-08-23 22:41:08 +01:00
parent 4fe9443feb
commit 96e5b2ca48
1 changed files with 7 additions and 0 deletions

View File

@ -28,6 +28,13 @@ cargo run --example shapes
| 0.1.x | 0.7.x |
| 0.2.x | 0.8.x |
## Features
- `align16` _(default)_ - Aligns uniform structs to 16-byte boundaries.
This is required by WebGL and some downlevel GPUs.
- `bevy_ui` _(default)_ - Adds a render graph edge to prevent clashing with the UI.
This adds a dependency on the `bevy_ui` crate and can disabled if it is not used.
## Licence
This crate is licensed under the Apache License, Version 2.0 (see