ash::vk::aliases

Type Alias SubpassDescription2KHR

Source
pub type SubpassDescription2KHR<'a> = SubpassDescription2<'a>;

Aliased Type§

struct SubpassDescription2KHR<'a> {
Show 14 fields pub s_type: StructureType, pub p_next: *const c_void, pub flags: SubpassDescriptionFlags, pub pipeline_bind_point: PipelineBindPoint, pub view_mask: u32, pub input_attachment_count: u32, pub p_input_attachments: *const AttachmentReference2<'a>, pub color_attachment_count: u32, pub p_color_attachments: *const AttachmentReference2<'a>, pub p_resolve_attachments: *const AttachmentReference2<'a>, pub p_depth_stencil_attachment: *const AttachmentReference2<'a>, pub preserve_attachment_count: u32, pub p_preserve_attachments: *const u32, pub _marker: PhantomData<&'a ()>,
}

Fields§

§s_type: StructureType§p_next: *const c_void§flags: SubpassDescriptionFlags§pipeline_bind_point: PipelineBindPoint§view_mask: u32§input_attachment_count: u32§p_input_attachments: *const AttachmentReference2<'a>§color_attachment_count: u32§p_color_attachments: *const AttachmentReference2<'a>§p_resolve_attachments: *const AttachmentReference2<'a>§p_depth_stencil_attachment: *const AttachmentReference2<'a>§preserve_attachment_count: u32§p_preserve_attachments: *const u32§_marker: PhantomData<&'a ()>

Implementations

Source§

impl<'a> SubpassDescription2<'a>

Source

pub fn flags(self, flags: SubpassDescriptionFlags) -> Self

Source

pub fn pipeline_bind_point(self, pipeline_bind_point: PipelineBindPoint) -> Self

Source

pub fn view_mask(self, view_mask: u32) -> Self

Source

pub fn input_attachments( self, input_attachments: &'a [AttachmentReference2<'a>], ) -> Self

Source

pub fn color_attachments( self, color_attachments: &'a [AttachmentReference2<'a>], ) -> Self

Source

pub fn resolve_attachments( self, resolve_attachments: &'a [AttachmentReference2<'a>], ) -> Self

Source

pub fn depth_stencil_attachment( self, depth_stencil_attachment: &'a AttachmentReference2<'a>, ) -> Self

Source

pub fn preserve_attachments(self, preserve_attachments: &'a [u32]) -> Self

Source

pub fn push_next<T: ExtendsSubpassDescription2 + ?Sized>( self, next: &'a mut T, ) -> Self

Prepends the given extension struct between the root and the first pointer. This method only exists on structs that can be passed to a function directly. Only valid extension structs can be pushed into the chain. If the chain looks like A -> B -> C, and you call x.push_next(&mut D), then the chain will look like A -> D -> B -> C.

Trait Implementations

Source§

impl<'a> Clone for SubpassDescription2<'a>

Source§

fn clone(&self) -> SubpassDescription2<'a>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for SubpassDescription2<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for SubpassDescription2<'_>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'a> TaggedStructure for SubpassDescription2<'a>

Source§

const STRUCTURE_TYPE: StructureType = StructureType::SUBPASS_DESCRIPTION_2

Source§

impl<'a> Copy for SubpassDescription2<'a>

Source§

impl Send for SubpassDescription2<'_>

Source§

impl Sync for SubpassDescription2<'_>