You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Animated textures can be updated every frame with the existing update_texture method, but this is unnecessary and probably a performance hit.
Additional context
This is an important feature for pixels, which provides access to the wgpu texture view. And generally important for any application that renders to a texture.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
egui-wgpu
has a method to upload raw image pixels and create an egui texture. It is missing a method to allocate an egui texture from a wgpu texture. This was available inegui_wgpu_backend
: https://docs.rs/egui_wgpu_backend/0.17.0/egui_wgpu_backend/struct.RenderPass.html#method.egui_texture_from_wgpu_textureDescribe the solution you'd like
Add a similar method to
egui-wgpu
so that any texture usable bywgpu
can also be used directly inegui
.Describe alternatives you've considered
egui_wgpu_backend
instead and update it to be compatible withegui
0.18. This was originally tracked in Bump to latest egui (0.18.1 as of time of writing) hasenbanck/egui_wgpu_backend#60, but closed whenegui-wgpu
became a viable alternative.update_texture
method, but this is unnecessary and probably a performance hit.Additional context
This is an important feature for
pixels
, which provides access to the wgpu texture view. And generally important for any application that renders to a texture.The text was updated successfully, but these errors were encountered: