pub struct RenderPassColorAttachmentDescriptor<'a> {
pub attachment: &'a TextureView,
pub resolve_target: Option<&'a TextureView>,
pub ops: Operations<Color>,
}
Expand description
Describes a color attachment to a RenderPass
.
Fields§
§attachment: &'a TextureView
The view to use as an attachment.
resolve_target: Option<&'a TextureView>
The view that will receive the resolved output if multisampling is used.
ops: Operations<Color>
What operations will be performed on this color attachment.
Trait Implementations§
Source§impl<'a> Clone for RenderPassColorAttachmentDescriptor<'a>
impl<'a> Clone for RenderPassColorAttachmentDescriptor<'a>
Source§fn clone(&self) -> RenderPassColorAttachmentDescriptor<'a>
fn clone(&self) -> RenderPassColorAttachmentDescriptor<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for RenderPassColorAttachmentDescriptor<'a>
impl<'a> !RefUnwindSafe for RenderPassColorAttachmentDescriptor<'a>
impl<'a> Send for RenderPassColorAttachmentDescriptor<'a>
impl<'a> Sync for RenderPassColorAttachmentDescriptor<'a>
impl<'a> Unpin for RenderPassColorAttachmentDescriptor<'a>
impl<'a> !UnwindSafe for RenderPassColorAttachmentDescriptor<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more