Struct voodoo::SwapchainKhr
[−]
[src]
pub struct SwapchainKhr { /* fields omitted */ }
Methods
impl SwapchainKhr
[src]
pub fn builder<'b>() -> SwapchainKhrBuilder<'b>
[src]
Returns a new SwapchainKhrBuilder
.
pub fn images(&self) -> &[Image]
[src]
Returns the images associated with this swapchain.
pub fn image_format(&self) -> Format
[src]
Returns this swapchain's image format.
pub fn extent(&self) -> &Extent2d
[src]
Returns this swapchain's extent.
pub fn handle(&self) -> SwapchainKhrHandle
[src]
Returns this swapchain's handle.
pub fn device(&self) -> &Device
[src]
Returns a reference to the associated device.
pub fn acquire_next_image_khr(
&self,
timeout: u64,
semaphore: Option<&Semaphore>,
fence: Option<&Fence>
) -> VdResult<u32>
[src]
&self,
timeout: u64,
semaphore: Option<&Semaphore>,
fence: Option<&Fence>
) -> VdResult<u32>
Retrieves the index of the next available presentable image.
https://manned.org/vkAcquireNextImageKHR.3
Trait Implementations
impl Debug for SwapchainKhr
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for SwapchainKhr
[src]
fn clone(&self) -> SwapchainKhr
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more