Struct ash::vk::SubpassDescription  
source · #[repr(C)]pub struct SubpassDescription<'a> {
    pub flags: SubpassDescriptionFlags,
    pub pipeline_bind_point: PipelineBindPoint,
    pub input_attachment_count: u32,
    pub p_input_attachments: *const AttachmentReference,
    pub color_attachment_count: u32,
    pub p_color_attachments: *const AttachmentReference,
    pub p_resolve_attachments: *const AttachmentReference,
    pub p_depth_stencil_attachment: *const AttachmentReference,
    pub preserve_attachment_count: u32,
    pub p_preserve_attachments: *const u32,
    pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§flags: SubpassDescriptionFlags§pipeline_bind_point: PipelineBindPoint§input_attachment_count: u32§p_input_attachments: *const AttachmentReference§color_attachment_count: u32§p_color_attachments: *const AttachmentReference§p_resolve_attachments: *const AttachmentReference§p_depth_stencil_attachment: *const AttachmentReference§preserve_attachment_count: u32§p_preserve_attachments: *const u32§_marker: PhantomData<&'a ()>Implementations§
source§impl<'a> SubpassDescription<'a>
 
impl<'a> SubpassDescription<'a>
pub fn flags(self, flags: SubpassDescriptionFlags) -> Self
pub fn pipeline_bind_point(self, pipeline_bind_point: PipelineBindPoint) -> Self
pub fn input_attachments( self, input_attachments: &'a [AttachmentReference], ) -> Self
pub fn color_attachments( self, color_attachments: &'a [AttachmentReference], ) -> Self
pub fn resolve_attachments( self, resolve_attachments: &'a [AttachmentReference], ) -> Self
pub fn depth_stencil_attachment( self, depth_stencil_attachment: &'a AttachmentReference, ) -> Self
pub fn preserve_attachments(self, preserve_attachments: &'a [u32]) -> Self
Trait Implementations§
source§impl<'a> Clone for SubpassDescription<'a>
 
impl<'a> Clone for SubpassDescription<'a>
source§fn clone(&self) -> SubpassDescription<'a>
 
fn clone(&self) -> SubpassDescription<'a>
Returns a copy 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<'a> Debug for SubpassDescription<'a>
 
impl<'a> Debug for SubpassDescription<'a>
source§impl Default for SubpassDescription<'_>
 
impl Default for SubpassDescription<'_>
impl<'a> Copy for SubpassDescription<'a>
impl Send for SubpassDescription<'_>
impl Sync for SubpassDescription<'_>
Auto Trait Implementations§
impl<'a> Freeze for SubpassDescription<'a>
impl<'a> RefUnwindSafe for SubpassDescription<'a>
impl<'a> Unpin 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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)