[][src]Struct vk_rs::vk::SubpassDescription2

#[repr(C)]pub struct SubpassDescription2 {
    pub sType: StructureType,
    pub pNext: *const c_void,
    pub flags: SubpassDescriptionFlags,
    pub pipelineBindPoint: PipelineBindPoint,
    pub viewMask: u32,
    pub inputAttachmentCount: u32,
    pub pInputAttachments: *const AttachmentReference2,
    pub colorAttachmentCount: u32,
    pub pColorAttachments: *const AttachmentReference2,
    pub pResolveAttachments: *const AttachmentReference2,
    pub pDepthStencilAttachment: *const AttachmentReference2,
    pub preserveAttachmentCount: u32,
    pub pPreserveAttachments: *const u32,
}

Fields

sType: StructureTypepNext: *const c_voidflags: SubpassDescriptionFlagspipelineBindPoint: PipelineBindPointviewMask: u32inputAttachmentCount: u32pInputAttachments: *const AttachmentReference2colorAttachmentCount: u32pColorAttachments: *const AttachmentReference2pResolveAttachments: *const AttachmentReference2pDepthStencilAttachment: *const AttachmentReference2preserveAttachmentCount: u32pPreserveAttachments: *const u32

Implementations

impl SubpassDescription2[src]

pub fn new() -> Self[src]

pub fn sType(self, sType: StructureType) -> Self[src]

pub fn pNext(self, pNext: *const c_void) -> Self[src]

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

pub fn pipelineBindPoint(self, pipelineBindPoint: PipelineBindPoint) -> Self[src]

pub fn viewMask(self, viewMask: u32) -> Self[src]

pub fn inputAttachmentCount(self, inputAttachmentCount: u32) -> Self[src]

pub fn pInputAttachments(
    self,
    pInputAttachments: *const AttachmentReference2
) -> Self
[src]

pub fn colorAttachmentCount(self, colorAttachmentCount: u32) -> Self[src]

pub fn pColorAttachments(
    self,
    pColorAttachments: *const AttachmentReference2
) -> Self
[src]

pub fn pResolveAttachments(
    self,
    pResolveAttachments: *const AttachmentReference2
) -> Self
[src]

pub fn pDepthStencilAttachment(
    self,
    pDepthStencilAttachment: *const AttachmentReference2
) -> Self
[src]

pub fn preserveAttachmentCount(self, preserveAttachmentCount: u32) -> Self[src]

pub fn pPreserveAttachments(self, pPreserveAttachments: *const u32) -> Self[src]

Trait Implementations

impl Clone for SubpassDescription2[src]

impl Copy for SubpassDescription2[src]

impl Debug for SubpassDescription2[src]

impl Default for SubpassDescription2[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.