[][src]Struct wgpu::RenderPassDescriptor

pub struct RenderPassDescriptor<'a, 'b> {
    pub color_attachments: &'b [RenderPassColorAttachmentDescriptor<'a>],
    pub depth_stencil_attachment: Option<RenderPassDepthStencilAttachmentDescriptor<'a>>,

Describes the attachments of a render pass.


color_attachments: &'b [RenderPassColorAttachmentDescriptor<'a>]

The color attachments of the render pass.

depth_stencil_attachment: Option<RenderPassDepthStencilAttachmentDescriptor<'a>>

The depth and stencil attachment of the render pass, if any.

Trait Implementations

impl<'a, 'b> Clone for RenderPassDescriptor<'a, 'b>[src]

impl<'a, 'b> Debug for RenderPassDescriptor<'a, 'b>[src]

impl<'a, 'b> Default for RenderPassDescriptor<'a, 'b>[src]

Auto Trait Implementations

impl<'a, 'b> !RefUnwindSafe for RenderPassDescriptor<'a, 'b>

impl<'a, 'b> Send for RenderPassDescriptor<'a, 'b>

impl<'a, 'b> Sync for RenderPassDescriptor<'a, 'b>

impl<'a, 'b> Unpin for RenderPassDescriptor<'a, 'b> where
    'a: 'b, 

impl<'a, 'b> !UnwindSafe for RenderPassDescriptor<'a, 'b>

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.