>,
@@ -1106,14 +1067,6 @@ fn queue_custom(
}
```
-### [Allow overriding global wireframe setting.](https://github.com/bevyengine/bevy/pull/7328)
-
-
-
-
-
### [PCF For DirectionalLight/SpotLight Shadows](https://github.com/bevyengine/bevy/pull/8006)
-- `MeshPipeline::view_layout` and `MeshPipeline::view_layout_multisampled` have been replaced with a private array to accomodate for variable view bind group layouts. To obtain a view bind group layout for the current pipeline state, use the new `MeshPipeline::get_view_layout()` or `MeshPipeline::get_view_layout_from_key()` methods.
+`MeshPipeline::view_layout` and `MeshPipeline::view_layout_multisampled` have been replaced with a private array to accomodate for variable view bind group layouts. To obtain a view bind group layout for the current pipeline state, use the new `MeshPipeline::get_view_layout()` or `MeshPipeline::get_view_layout_from_key()` methods.
-### [update shader imports](https://github.com/bevyengine/bevy/pull/10180)
+### [Update shader imports](https://github.com/bevyengine/bevy/pull/10180)
-__Change direct accesses of `AccessibilityRequested` to use `AccessibilityRequested.::get()`/`AccessibilityRequested::set()`__
-
-__Before__
+Change direct accesses of `AccessibilityRequested` to use `AccessibilityRequested.::get()`/`AccessibilityRequested::set()`
```rust
+// 0.11
use std::sync::atomic::Ordering;
// To access
accessibility_requested.load(Ordering::SeqCst)
// To update
accessibility_requested.store(true, Ordering::SeqCst);
-```
-__After__
-
-```rust
+// 0.12
// To access
accessibility_requested.get()
// To update
@@ -1501,9 +1434,9 @@ struct Vertex {
@vertex
fn vertex(vertex_no_morph: Vertex) -> VertexOutput {
-...
-
+ // ...
var model = mesh[vertex_no_morph.instance_index].model;
+}
```
After:
@@ -1513,14 +1446,15 @@ After:
struct Vertex {
@builtin(instance_index) instance_index: u32,
-...
+ // ...
}
@vertex
fn vertex(vertex_no_morph: Vertex) -> VertexOutput {
-...
-
- var model = mesh[bevy_render::instance_index::get_instance_index(vertex_no_morph.instance_index)].model;
+ // ...
+ let instance_index = bevy_render::instance_index::get_instance_index(vertex_no_morph.instance_index);
+ var model = mesh[instance_index].model;
+}
```
### [Remove `IntoIterator` impl for `&mut EventReader`](https://github.com/bevyengine/bevy/pull/9583)