Struct voodoo::SwapchainKhr
[−]
[src]
pub struct SwapchainKhr { /* fields omitted */ }
Methods
impl SwapchainKhr
[src]
fn builder<'b>() -> SwapchainKhrBuilder<'b>
[src]
Returns a new SwapchainKhrBuilder
.
fn images(&self) -> &[Image]
[src]
Returns the images associated with this swapchain.
fn image_format(&self) -> Format
[src]
Returns this swapchain's image format.
fn extent(&self) -> &Extent2d
[src]
Returns this swapchain's extent.
fn handle(&self) -> SwapchainKhrHandle
[src]
Returns this swapchain's handle.
fn device(&self) -> &Device
[src]
Returns a reference to the associated device.
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.
Trait Implementations
impl Debug for SwapchainKhr
[src]
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