Commit graph

1 commit

Author SHA1 Message Date
Folke Lemaitre
4c91613ae6 Ported WgpuOptions to bevy_render2 (#3282)
# 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.
2021-12-09 21:14:17 +00:00