Skip to content

Conversation

@edwloef
Copy link
Contributor

@edwloef edwloef commented Oct 4, 2025

I have large meshes that I'd like to not have to recreate/clone every time I draw them. When using wgpu I can use a iced_wgpu::geometry::Cache, however this doesn't work for other renderers. Since you can't query the renderer's type at runtime it makes sense to me to make reuse possible with this change.

@edwloef
Copy link
Contributor Author

edwloef commented Oct 4, 2025

Failing CI is from an upstream rustdoc change: rust-lang/rust#138907

@mahlquistj
Copy link

This is great. We have ~25% performance increase by reusing the meshes! Hoping this gets merged soon! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants