mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
Add bevy_render::texture::ImageSettings
to prelude (#5566)
# Objective In Bevy 0.8, the default filter mode was changed to linear (#4465). I believe this is a sensible default, but it's also very common to want to use point filtering (e.g. for pixel art games). ## Solution I am proposing including `bevy_render::texture::ImageSettings` in the Bevy prelude so it is more ergonomic to change the filtering in such cases. --- ## Changelog ### Added - Added `bevy_render::texture::ImageSettings` to prelude.
This commit is contained in:
parent
765e8d7dca
commit
90d1dc8820
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ pub mod prelude {
|
|||
mesh::{shape, Mesh},
|
||||
render_resource::Shader,
|
||||
spatial_bundle::SpatialBundle,
|
||||
texture::Image,
|
||||
texture::{Image, ImageSettings},
|
||||
view::{ComputedVisibility, Msaa, Visibility, VisibilityBundle},
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue