1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 04:40:03 -04:00

wgpu renderer no longer creates a sampler with every texture (#2198)

This commit is contained in:
Andreas Reich
2022-10-30 15:14:45 +01:00
committed by GitHub
parent f7a15a34f9
commit 53b800502a
3 changed files with 25 additions and 15 deletions

View File

@@ -136,7 +136,7 @@ pub struct TextureMeta {
}
/// How the texture texels are filtered.
#[derive(Copy, Clone, Debug, PartialEq)]
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)]
#[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))]
pub enum TextureFilter {
/// Show the nearest pixel value.