pub struct Swapchain {
surface: Surface,
wl_window: Option<*mut wl_egl_window>,
framebuffer: Framebuffer,
renderbuffer: Renderbuffer,
extent: Extent3d,
format: TextureFormat,
format_desc: TextureFormatDesc,
sample_type: TextureSampleType,
}Available on
gles and neither Windows nor webgl only.Fields§
§surface: Surface§wl_window: Option<*mut wl_egl_window>§framebuffer: Framebuffer§renderbuffer: Renderbuffer§extent: Extent3dExtent because the window lies
format: TextureFormat§format_desc: TextureFormatDesc§sample_type: TextureSampleTypeTrait Implementations§
Auto Trait Implementations§
impl Freeze for Swapchain
impl RefUnwindSafe for Swapchain
impl !Send for Swapchain
impl !Sync for Swapchain
impl Unpin for Swapchain
impl UnwindSafe for Swapchain
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more