bevy/crates/bevy_render
Fredrik Fornwall 80db794e3c
Make WgpuSettings::default() check WGPU_POWER_PREF (#9482)
# Objective

Allow users to specify the power preference when selecting a wgpu
adapter, which is useful for testing or workaround purposes, and makes
the behaviour consistent with the already present check for
`WGPU_BACKEND`.

## Solution

In `WgpuSettings::default()`, allow users to specify the
`WGPU_POWER_PREF` to affect the wgpu adapter choice.
2023-08-18 20:18:15 +00:00
..
macros Bump Version after Release (#9106) 2023-07-10 21:19:27 +00:00
src Make WgpuSettings::default() check WGPU_POWER_PREF (#9482) 2023-08-18 20:18:15 +00:00
Cargo.toml bevy_render: Remove direct dep on wgpu-hal. (#9249) 2023-07-23 12:43:28 +00:00