-
Update the window's contents?So when I create the window, how exactly do I update it's contents? I have seen things being mentioned like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
winit doesn't draw and it doesn't provide calls to the graphics platform api, unlike glfw/sdl. The |
Beta Was this translation helpful? Give feedback.
winit doesn't draw and it doesn't provide calls to the graphics platform api, unlike glfw/sdl. The
RedrawRequested
event is simply to tell you that you should draw, e.g. due to resize or some other system event. How you'd draw is entirely up to you. You can use OpenGL (with glutin) or Vulkan(with ash) and call their routines to present the buffer.