[][src]Struct wgpu::RenderPassDescriptor

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

A description of all the attachments of a render pass.

Fields

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

The color attachments of the render pass.

depth_stencil_attachment: Option<RenderPassDepthStencilAttachmentDescriptor<&'a TextureView>>

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

Trait Implementations

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

Auto Trait Implementations

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

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

impl<'a> Unpin for RenderPassDescriptor<'a>

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

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

Blanket Implementations

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

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

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.

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

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

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