Struct openxr::Swapchain [−][src]
pub struct Swapchain<G: Graphics> { /* fields omitted */ }
Expand description
A set of images to be rendered to using a particular graphics API G
Implementations
Take ownership of an existing swapchain handle
Safety
handle
must be a valid swapchain handle associated with session
and created with flags
.
Set the debug name of this Swapchain
, if XR_EXT_debug_utils
is loaded
Determine the index of the next image to render to in the swapchain image array
Wait for the compositor to finish reading from the oldest unwaited acquired image
Release the oldest acquired image