[][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 RenderPass.

Fields

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]

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
[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.