[][src]Struct nannou::wgpu::RenderPassColorAttachmentDescriptorBuilder

pub struct RenderPassColorAttachmentDescriptorBuilder<'a> { /* fields omitted */ }

A builder type to simplify the process of creating a render pass descriptor.

Methods

impl<'a> ColorAttachmentDescriptorBuilder<'a>[src]

pub const DEFAULT_LOAD_OP: LoadOp[src]

pub const DEFAULT_STORE_OP: StoreOp[src]

pub const DEFAULT_CLEAR_COLOR: Color[src]

pub fn resolve_target(self, target: Option<&'a TextureView>) -> Self[src]

Specify the resolve target for this render pass color attachment.

pub fn resolve_target_handle(
    self,
    target: Option<&'a TextureViewHandle>
) -> Self
[src]

Specify the resolve target for this render pass color attachment.

pub fn load_op(self, load_op: LoadOp) -> Self[src]

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

pub fn store_op(self, store_op: StoreOp) -> Self[src]

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

pub fn clear_color(self, color: Color) -> Self[src]

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

Trait Implementations

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

Auto Trait Implementations

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

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, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

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

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

impl<T> SetParameter for T

impl<T> SetParameter for T

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<V, T> VZip<V> for T where
    V: MultiLane<T>,