#[repr(C)]pub struct SubpassDescription2 {Show 13 fields
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: SubpassDescriptionFlagBits,
pub pipeline_bind_point: PipelineBindPoint,
pub view_mask: u32,
pub input_attachment_count: u32,
pub p_input_attachments: *const AttachmentReference2,
pub color_attachment_count: u32,
pub p_color_attachments: *const AttachmentReference2,
pub p_resolve_attachments: *const AttachmentReference2,
pub p_depth_stencil_attachment: *const AttachmentReference2,
pub preserve_attachment_count: u32,
pub p_preserve_attachments: *const u32,
}Expand description
VkSubpassDescription2
Provided by VK_GRAPHICS_VERSION_1_2.
§Extended By
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2.
p_next: *const c_voidOptional, may be null.
flags: SubpassDescriptionFlagBits§pipeline_bind_point: PipelineBindPoint§view_mask: u32§input_attachment_count: u32Length of p_input_attachments.
p_input_attachments: *const AttachmentReference2§color_attachment_count: u32Length of p_resolve_attachments.
p_color_attachments: *const AttachmentReference2§p_resolve_attachments: *const AttachmentReference2Optional, may be null.
p_depth_stencil_attachment: *const AttachmentReference2Optional, may be null.
preserve_attachment_count: u32Length of p_preserve_attachments.
p_preserve_attachments: *const u32Implementations§
Source§impl SubpassDescription2
impl SubpassDescription2
Sourcepub fn builder<'a>() -> SubpassDescription2Builder<'a>
pub fn builder<'a>() -> SubpassDescription2Builder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for SubpassDescription2
impl Clone for SubpassDescription2
Source§fn clone(&self) -> SubpassDescription2
fn clone(&self) -> SubpassDescription2
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 SubpassDescription2
impl Debug for SubpassDescription2
Source§impl Default for SubpassDescription2
impl Default for SubpassDescription2
Source§fn default() -> SubpassDescription2
fn default() -> SubpassDescription2
Returns the “default value” for a type. Read more
impl Copy for SubpassDescription2
Auto Trait Implementations§
impl Freeze for SubpassDescription2
impl RefUnwindSafe for SubpassDescription2
impl !Send for SubpassDescription2
impl !Sync for SubpassDescription2
impl Unpin for SubpassDescription2
impl UnsafeUnpin for SubpassDescription2
impl UnwindSafe for SubpassDescription2
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