Rafx uses raw-window-handle to avoid taking a direct dependency on any particular windowing solution. This means rafx
is compatible with winit, sdl2, and most other windowing APIs in the rust ecosystem.
In addition to a basic swapchain API (RafxSwapchain), the API includes RafxSwapchainHelper. It adds a few
conveniences:
RafxSwapchainHelper::acquire_next_image(...). This will rebuild the swapchain if necessary and wait until it
is safe to use the next swapchain image.RafxPresentableFrame to access the swapchain imageRafxPresentableFrame::present(). This call can occur from a separate render
thread.