[−][src]Struct gfx_backend_empty::Swapchain
Dummy swapchain.
Trait Implementations
impl Debug for Swapchain
[src]
impl Swapchain<Backend> for Swapchain
[src]
unsafe fn acquire_image(
&mut self,
_: u64,
_: Option<&()>,
_: Option<&()>
) -> Result<(SwapImageIndex, Option<Suboptimal>), AcquireError>
[src]
&mut self,
_: u64,
_: Option<&()>,
_: Option<&()>
) -> Result<(SwapImageIndex, Option<Suboptimal>), AcquireError>
unsafe fn present<'a, C, S, Iw>(
&'a self,
present_queue: &mut CommandQueue<B, C>,
image_index: u32,
wait_semaphores: Iw
) -> Result<Option<Suboptimal>, PresentError> where
C: Capability,
Iw: IntoIterator<Item = &'a S>,
S: 'a + Borrow<<B as Backend>::Semaphore>,
Self: 'a + Borrow<<B as Backend>::Swapchain>,
[src]
&'a self,
present_queue: &mut CommandQueue<B, C>,
image_index: u32,
wait_semaphores: Iw
) -> Result<Option<Suboptimal>, PresentError> where
C: Capability,
Iw: IntoIterator<Item = &'a S>,
S: 'a + Borrow<<B as Backend>::Semaphore>,
Self: 'a + Borrow<<B as Backend>::Swapchain>,
Present one acquired image. Read more
unsafe fn present_nosemaphores<'a, C>(
&'a self,
present_queue: &mut CommandQueue<B, C>,
image_index: u32
) -> Result<Option<Suboptimal>, PresentError> where
C: Capability,
Self: 'a + Borrow<<B as Backend>::Swapchain>,
[src]
&'a self,
present_queue: &mut CommandQueue<B, C>,
image_index: u32
) -> Result<Option<Suboptimal>, PresentError> where
C: Capability,
Self: 'a + Borrow<<B as Backend>::Swapchain>,
Present one acquired image without any semaphore synchronization.
Auto Trait Implementations
impl Sync for Swapchain
impl Unpin for Swapchain
impl Send for Swapchain
impl UnwindSafe for Swapchain
impl RefUnwindSafe for Swapchain
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,