Shuting Wang

Results 3 comments of Shuting Wang

I've encountered some challenges. Could you please advise on how to convert dynamic hardcoded strings into `RenderLabel`s? For example, in the `bevy_egui` parts for updating them to be compatible with...

> @Shute052 im not 100% sure but I think it should be fine to make a tuple struct like > > ```rust > #[derive(..., RenderLabel)] > struct EguiPass(&'static str); >...

```rust #[derive(Debug, Hash, PartialEq, Eq, Clone, RenderLabel)] struct EguiPass(u32, u32); let egui_pass = EguiPass(window.index(), window.generation()); ``` This passed the compilation, would it cause any problems? Stores two u32 might be...