Poll: GPU type refactor and bevy_gpu split #7169
Replies: 3 comments 10 replies
-
Not to sway anyone's opinions, rather to document the nuances and reasoning I have...:
|
Beta Was this translation helpful? Give feedback.
-
i definitely prefer prefixless - there's actually a (pedantic) clippy lint specifically for "don't start all your struct names with your module name" - https://rust-lang.github.io/rust-clippy/master/#module_name_repetitions on root vs module export, there's a level of abstraction difference between the root and the |
Beta Was this translation helpful? Give feedback.
-
i think i'm not a gpu dev so my opinion might not be as important here but surely there are contexts where you might want |
Beta Was this translation helpful? Give feedback.
-
I am working on splitting up the bevy_render and bevy_gpu code.
This change will affect most of the existing code and render plugins, which is why I want to make sure that you are on board with this refactor.
There are two open design decisions, that need to be answered.
Please take a look at issue #7157 and tell me which combination of naming and exporting strategies you prefer.
24 votes ·
Beta Was this translation helpful? Give feedback.
All reactions