50 releases
Uses new Rust 2024
new 0.17.1 | Oct 1, 2025 |
---|---|
0.16.1 | May 30, 2025 |
0.16.0-rc.3 | Mar 31, 2025 |
0.15.0 | Nov 29, 2024 |
0.3.0 | Nov 3, 2020 |
#262 in Graphics APIs
217,995 downloads per month
Used in 1,049 crates
(115 directly)
9MB
161K
SLoC
Useful Environment Variables
Both bevy_render
and wgpu
have a number of environment variable options for changing the runtime behavior
of both crates. Many of these may be useful in development or release environments.
WGPU_DEBUG=1
enables debug labels, which can be useful in release builds.WGPU_VALIDATION=0
disables validation layers. This can help with particularly spammy errors.WGPU_FORCE_FALLBACK_ADAPTER=1
attempts to force software rendering. This typically matches what is used in CI.WGPU_ADAPTER_NAME
allows selecting a specific adapter by name.WGPU_SETTINGS_PRIO=webgl2
uses webgl2 limits.WGPU_SETTINGS_PRIO=compatibility
uses webgpu limits.VERBOSE_SHADER_ERROR=1
prints more detailed information about WGSL compilation errors, such as shader defs and shader entrypoint.
Bevy Render
Dependencies
~37–73MB
~1.5M SLoC