Replies: 3 comments 14 replies
-
This is a pretty neat idea for saving some CPU in the "reactive" mode for when the egui is not covering the entire screen (e.g. in a game). |
Beta Was this translation helpful? Give feedback.
1 reply
-
I think It could work also with a full screen UI. We may skip the mouse events when the cursor travels over the widgets that have not sense for "mouse over". |
Beta Was this translation helpful? Give feedback.
10 replies
-
Implementation could be shared with #1250. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We can save the bounding boxes of widgets during rendering in lists (or maybe a binary tree) for each sense type. So in the next frame, we could cheaply check if the GUI will respond to user input and skip all rendering if not needed.
Beta Was this translation helpful? Give feedback.
All reactions