pub struct FramebufferBuilder { /* private fields */ }Implementations§
Source§impl FramebufferBuilder
impl FramebufferBuilder
pub fn new() -> Self
pub fn with_attachment(self, attachment: ImageView) -> Self
pub fn with_extent(self, width: u32, height: u32) -> Self
pub fn with_layers(self, layers: u32) -> Self
pub fn with_flags(self, flags: FramebufferCreateFlags) -> Self
pub fn build( self, device: &Device, render_pass: RenderPass, ) -> Result<Framebuffer, Error>
Auto Trait Implementations§
impl Freeze for FramebufferBuilder
impl RefUnwindSafe for FramebufferBuilder
impl Send for FramebufferBuilder
impl Sync for FramebufferBuilder
impl Unpin for FramebufferBuilder
impl UnsafeUnpin for FramebufferBuilder
impl UnwindSafe for FramebufferBuilder
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