pub struct FramebufferInfo {
pub render_pass: RenderPass,
pub attachments: Vec<ImageView>,
pub extent: Extent2,
}Expand description
Defines Framebuffer state.
Can be used to Device::create_framebuffer.
Fields§
§render_pass: RenderPassRenderPass with which framebuffer can be used.
attachments: Vec<ImageView>ImageViews that will be used as attachments for render pass started with framebuffer.
extent: Extent2Specifies dimensions of the rendering operations over framebuffer.
Trait Implementations§
Source§impl Clone for FramebufferInfo
impl Clone for FramebufferInfo
Source§fn clone(&self) -> FramebufferInfo
fn clone(&self) -> FramebufferInfo
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 FramebufferInfo
impl Debug for FramebufferInfo
Auto Trait Implementations§
impl Freeze for FramebufferInfo
impl !RefUnwindSafe for FramebufferInfo
impl Send for FramebufferInfo
impl Sync for FramebufferInfo
impl Unpin for FramebufferInfo
impl !UnwindSafe for FramebufferInfo
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