mirror of
https://github.com/bevyengine/bevy
synced 2024-12-23 03:23:20 +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> |
||
---|---|---|
.. | ||
mesh2d | ||
render | ||
bundle.rs | ||
collide_aabb.rs | ||
dynamic_texture_atlas_builder.rs | ||
lib.rs | ||
sprite.rs | ||
texture_atlas.rs | ||
texture_atlas_builder.rs |