gfx_hal::window

Type Alias SwapImageIndex

Source
pub type SwapImageIndex = u32;
Expand description

Index of an image in the swapchain.

The swapchain is a series of one or more images, usually with one being drawn on while the other is displayed by the GPU (aka double-buffering). A SwapImageIndex refers to a particular image in the swapchain.