mirror of
https://github.com/bevyengine/bevy
synced 2024-12-30 06:53:13 +00:00
06ada2e93d
# Objective Fixes #6931 Continues #6954 by squashing `Msaa` to a flat enum Helps out #7215 # Solution ``` pub enum Msaa { Off = 1, #[default] Sample4 = 4, } ``` # Changelog - Modified - `Msaa` is now enum - Defaults to 4 samples - Uses `.samples()` method to get the sample number as `u32` # Migration Guide ``` let multi = Msaa { samples: 4 } // is now let multi = Msaa::Sample4 multi.samples // is now multi.samples() ``` Co-authored-by: Sjael <jakeobrien44@gmail.com> |
||
---|---|---|
.. | ||
clustered_forward.wgsl | ||
depth.wgsl | ||
light.rs | ||
mesh.rs | ||
mesh.wgsl | ||
mesh_bindings.wgsl | ||
mesh_functions.wgsl | ||
mesh_types.wgsl | ||
mesh_vertex_output.wgsl | ||
mesh_view_bindings.wgsl | ||
mesh_view_types.wgsl | ||
mod.rs | ||
pbr.wgsl | ||
pbr_bindings.wgsl | ||
pbr_functions.wgsl | ||
pbr_lighting.wgsl | ||
pbr_prepass.wgsl | ||
pbr_types.wgsl | ||
shadows.wgsl | ||
skinning.wgsl | ||
utils.wgsl | ||
wireframe.wgsl |