pub struct SubpassDescription<'a> {
pub input_attachments: &'a [AttachmentReference],
pub color_attachments: &'a [AttachmentReference],
pub depth_attachment: Option<AttachmentReference>,
pub preserve_attachments: &'a [u32],
pub resolve_attachments: &'a [AttachmentReference],
}Expand description
Describes the attachments of a subpass.
Fields§
§input_attachments: &'a [AttachmentReference]Defines the input attachments.
color_attachments: &'a [AttachmentReference]Defines the color attachments.
depth_attachment: Option<AttachmentReference>Defines the depth attachment.
preserve_attachments: &'a [u32]The indices of attachments to preserve throughout the subpass.
resolve_attachments: &'a [AttachmentReference]Defines the resolve attachments.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SubpassDescription<'a>
impl<'a> RefUnwindSafe for SubpassDescription<'a>
impl<'a> Send for SubpassDescription<'a>
impl<'a> Sync for SubpassDescription<'a>
impl<'a> Unpin for SubpassDescription<'a>
impl<'a> UnsafeUnpin for SubpassDescription<'a>
impl<'a> UnwindSafe for SubpassDescription<'a>
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