Implement texture filtering options

This commit is contained in:
Remmirad 2023-05-31 15:46:21 +02:00 committed by Héctor Ramón Jiménez
parent ef015a5e72
commit 5759096a4c
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
4 changed files with 84 additions and 26 deletions

View file

@ -13,7 +13,7 @@ use crate::core::{
use std::hash::Hash;
pub use image::Handle;
pub use image::{Handle, TextureFilter, FilterMethod};
/// Creates a new [`Viewer`] with the given image `Handle`.
pub fn viewer<Handle>(handle: Handle) -> Viewer<Handle> {