bevy/crates/bevy_pbr/src
Rob Parrett 5e1756954f Derive default for enums where possible (#5158)
# Objective

Fixes #5153

## Solution

Search for all enums and manually check if they have default impls that can use this new derive.

By my reckoning:

| enum | num |
|-|-|
| total | 159 |
| has default impl | 29 |
| default is unit variant | 23 |
2022-07-01 03:42:15 +00:00
..
render Move texture sample out of branch in prepare_normal (#5129) 2022-06-29 02:48:46 +00:00
alpha.rs Derive default for enums where possible (#5158) 2022-07-01 03:42:15 +00:00
bundle.rs Better Materials: AsBindGroup trait and derive, simpler Material trait (#5053) 2022-06-30 23:48:46 +00:00
lib.rs Callable PBR functions (#4939) 2022-06-21 20:50:06 +00:00
light.rs Camera Driven Viewports (#4898) 2022-06-05 00:27:49 +00:00
material.rs Better Materials: AsBindGroup trait and derive, simpler Material trait (#5053) 2022-06-30 23:48:46 +00:00
pbr_material.rs Better Materials: AsBindGroup trait and derive, simpler Material trait (#5053) 2022-06-30 23:48:46 +00:00
wireframe.rs Camera Driven Rendering (#4745) 2022-06-02 00:12:17 +00:00