[][src]Struct wgpu::RenderPassColorAttachmentDescriptor

pub struct RenderPassColorAttachmentDescriptor<'a> {
    pub attachment: &'a TextureView,
    pub resolve_target: Option<&'a TextureView>,
    pub load_op: LoadOp,
    pub store_op: StoreOp,
    pub clear_color: Color,
}

A description of a color attachment.

Fields

attachment: &'a TextureView

The actual color attachment.

resolve_target: Option<&'a TextureView>

The resolve target for this color attachment, if any.

load_op: LoadOp

The beginning-of-pass load operation for this color attachment.

store_op: StoreOp

The end-of-pass store operation for this color attachment.

clear_color: Color

The color that will be assigned to every pixel of this attachment when cleared.

Trait Implementations

impl<'a> Clone for RenderPassColorAttachmentDescriptor<'a>[src]

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

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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]