pub trait Swapchain: VkHandle<Handle = VkSwapchainKHR> + DeviceChild {
// Provided methods
fn image_count(&self) -> Result<u32> { ... }
fn images(
&self,
sink: &mut [MaybeUninit<VkImage>],
) -> Result<ArrayQueryResult<u32>> { ... }
}Provided Methods§
Sourcefn image_count(&self) -> Result<u32>
fn image_count(&self) -> Result<u32>
Obtain a count of the array of presentable images associated with a swapchain
§Failures
On failure, this command returns
Sourcefn images(
&self,
sink: &mut [MaybeUninit<VkImage>],
) -> Result<ArrayQueryResult<u32>>
fn images( &self, sink: &mut [MaybeUninit<VkImage>], ) -> Result<ArrayQueryResult<u32>>
Obtain the array of presentable images associated with a swapchain
§Failures
On failure, this command returns