Commit dfb809c
authored
# Objective
`CameraOutputMode` doesn't Implement `Reflect` and is ignored in
`Camera`.
## Solution
Like #15355, this Implements opaque `Reflect` for `wgpu::BlendState`
thus we can add `#derive(Reflect)` for `CameraOutputMode`.
As the commnent says, it can also implement `Reflect` througth
`reflect_remote` (#6042), but I'm not sure if we should do this for wgpu
types.
## Testing
ci
1 parent cc4398e commit dfb809c
File tree
3 files changed
+12
-4
lines changed- crates
- bevy_camera
- src
- bevy_reflect/src/impls
3 files changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
366 | 365 | | |
367 | | - | |
368 | 366 | | |
369 | 367 | | |
370 | 368 | | |
| |||
777 | 775 | | |
778 | 776 | | |
779 | 777 | | |
780 | | - | |
| 778 | + | |
781 | 779 | | |
782 | 780 | | |
783 | 781 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
0 commit comments