pub struct Framebuffer { /* private fields */ }Expand description
Framebuffer is a collection of attachments for render pass. Images format and sample count should match attachment definitions. All image views must be 2D with 1 mip level and 1 array level.
Implementations§
Source§impl Framebuffer
impl Framebuffer
pub fn info(&self) -> &FramebufferInfo
Trait Implementations§
Source§impl Clone for Framebuffer
impl Clone for Framebuffer
Source§fn clone(&self) -> Framebuffer
fn clone(&self) -> Framebuffer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Framebuffer
impl Debug for Framebuffer
Source§impl Hash for Framebuffer
impl Hash for Framebuffer
Source§impl PartialEq for Framebuffer
impl PartialEq for Framebuffer
impl Eq for Framebuffer
Auto Trait Implementations§
impl Freeze for Framebuffer
impl !RefUnwindSafe for Framebuffer
impl Send for Framebuffer
impl Sync for Framebuffer
impl Unpin for Framebuffer
impl !UnwindSafe for Framebuffer
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