Request redraw from background thread #477
-
I have a background task that is spawn based on user input, in the callback passed to There seems to be There is also Are there other approaches? What would be the best way to achieve this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You could avoid the |
Beta Was this translation helpful? Give feedback.
You could avoid the
three_d::window::Window
, it's basically just a thin shell around the winit window, and instead use the winit window directly. Then you have full access to all winit functionality. See thewinit_window
example for more details.