[−][src]Struct rendy_wsi::Target
Rendering target bound to window. With swapchain created.
Methods
impl<B> Target<B> where
B: Backend,
[src]
B: Backend,
pub unsafe fn dispose(
self,
device: &impl Device<B>
)
[src]
self,
device: &impl Device<B>
)
pub fn surface(&self) -> &B::Surface
[src]
Get raw surface handle.
pub fn swapchain(&self) -> &B::Swapchain
[src]
Get raw surface handle.
pub unsafe fn swapchain_mut(
&mut self
) -> &mut impl Swapchain<B>
[src]
&mut self
) -> &mut impl Swapchain<B>
pub fn backbuffer(&self) -> &Backbuffer<B>
[src]
Get raw handlers for the swapchain images.
pub unsafe fn next_image(
&mut self,
signal: &B::Semaphore
) -> Result<NextImages<B>, AcquireError>
[src]
&mut self,
signal: &B::Semaphore
) -> Result<NextImages<B>, AcquireError>
Acquire next image.
pub fn window(&self) -> &Window
[src]
Get a reference to the internal window.
Trait Implementations
Auto Trait Implementations
impl<B> Send for Target<B> where
<B as Backend>::Framebuffer: Send,
<B as Backend>::Image: Send + Sync,
<B as Backend>::Surface: Send,
<B as Backend>::Swapchain: Send,
<B as Backend>::Framebuffer: Send,
<B as Backend>::Image: Send + Sync,
<B as Backend>::Surface: Send,
<B as Backend>::Swapchain: Send,
impl<B> Sync for Target<B> where
<B as Backend>::Framebuffer: Sync,
<B as Backend>::Image: Send + Sync,
<B as Backend>::Surface: Sync,
<B as Backend>::Swapchain: Sync,
<B as Backend>::Framebuffer: Sync,
<B as Backend>::Image: Send + Sync,
<B as Backend>::Surface: Sync,
<B as Backend>::Swapchain: Sync,
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.