From 572e637a829814b5f9f6b343f994ed865f984d5d Mon Sep 17 00:00:00 2001 From: Christofer Nolander Date: Sun, 22 Sep 2024 17:12:58 +0200 Subject: [PATCH] add note for supported backends --- crates/epaint/src/textures.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/epaint/src/textures.rs b/crates/epaint/src/textures.rs index 8b8f1120b03..cc191a75fb0 100644 --- a/crates/epaint/src/textures.rs +++ b/crates/epaint/src/textures.rs @@ -164,6 +164,10 @@ pub struct TextureOptions { /// /// Mipmaps ensures textures look smooth even when the texture is very small and pixels are much /// larger than individual texels. + /// + /// # Notes + /// + /// - This may not be available on all backends (currently only `egui_glow`). pub mipmap_mode: Option, }