-
I'm trying to understand how to use an existing wgpu texture (used for offscreen rendering) and display it in an egui image ui element. Specifically, the image element seems to require an egui Previously, I was using the hasenbanck/egui_wgpu_backend crate (version 0.16), which had a function to convert the wgpu texture to an egui texture. Looking at the implementation for this, it seems that the texture management was done by the backend but that this functionality is no longer present in the There's clearly a gap in my understanding or an example I've missed. Would somebody be able to point me at the relevant example, section(s) in the docs or explain how, in the 0.18 version with the new backend implementation, I can render an existing texture to an egui image (without copying back to RAM and re-uploading)? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I’ve just seen #1660 which I think will answer this question. |
Beta Was this translation helpful? Give feedback.
I’ve just seen #1660 which I think will answer this question.