mirror of
https://github.com/bevyengine/bevy
synced 2024-12-21 10:33:08 +00:00
4c91613ae6
# Objective The new renderer does not support any options yet for wgpu. These are needed for example for rendering wireframes (see #3193). ## Solution I've ported WgpuOptions to bevy_render2. The defaults match the defaults that were used before this PR (meaning, some specific options when target_arch = wasm32). Additionally, I removed `Auto` from WgpuBackends and added `Primary`. The default will use primary or GL based on the target_arch. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |