mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
[user textures] Add custom texture/image support
* Each Traingles mesh comes with a TextureId * ui.image(...) to show an image/texture * Up to backend what to do with user textures
This commit is contained in:
5
TODO.md
5
TODO.md
@@ -53,9 +53,8 @@ TODO-list for the Egui project. If you looking for something to do, look here.
|
||||
* [ ] Positioning preference: `window.preference(Top, Right)`
|
||||
* [ ] Keeping right/bottom on expand. Maybe cover jitteryness with quick animation?
|
||||
* [ ] Make auto-positioning of windows respect permanent side-bars.
|
||||
* [ ] Image support
|
||||
* [ ] user-chosen texture ids (so people can show thing with mipmaps and whatnot)
|
||||
* [ ] `enum TextureId { Egui, User(u64) }` added to `Triangles`
|
||||
* [/] Image support
|
||||
* [x] Show user textures
|
||||
* [ ] API for creating a texture managed by Egui
|
||||
* Backend-agnostic. Good for people doing Egui-apps (games etc).
|
||||
* [ ] Convert font texture to RGBA, or communicate format in initialization?
|
||||
|
||||
Reference in New Issue
Block a user