Keyboard shortcuts

Press ← or β†’ to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Window Handling

vk-graph does not directly provide any window implementation. Instead an accessory crate, vk-graph-window is provided, based on winit.

Tip

vk-graph-window provides additional documentation and examples.

Swapchain

The bifurcation of vk-graph along the window abstraction results in two Swapchain types, one in each crate.

TypeUsage
vk_graph::driver::swapchain::SwapchainVulkan swapchain smart pointer, contains β€œraw” functions
vk_graph_window::swapchain::SwapchainHigh-level display interface for building window handlers

OpenXR

Virtual reality support via OpenXR is provided as an example which also implements a swapchain.