pub struct RenderPassColorAttachmentDescriptorBuilder<'a> { /* private fields */ }
Expand description
A builder type to simplify the process of creating a render pass descriptor.
Implementations§
source§impl<'a> ColorAttachmentDescriptorBuilder<'a>
impl<'a> ColorAttachmentDescriptorBuilder<'a>
pub const DEFAULT_CLEAR_COLOR: Color = Color::TRANSPARENT
pub const DEFAULT_LOAD_OP: LoadOp<Color> = _
pub const DEFAULT_STORE_OP: bool = true
sourcepub fn resolve_target(self, target: Option<&'a TextureView>) -> Self
pub fn resolve_target(self, target: Option<&'a TextureView>) -> Self
Specify the resolve target for this render pass color attachment.
sourcepub fn resolve_target_handle(
self,
target: Option<&'a TextureViewHandle>
) -> Self
pub fn resolve_target_handle( self, target: Option<&'a TextureViewHandle> ) -> Self
Specify the resolve target for this render pass color attachment.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ColorAttachmentDescriptorBuilder<'a>
impl<'a> Send for ColorAttachmentDescriptorBuilder<'a>
impl<'a> Sync for ColorAttachmentDescriptorBuilder<'a>
impl<'a> Unpin for ColorAttachmentDescriptorBuilder<'a>
impl<'a> !UnwindSafe for ColorAttachmentDescriptorBuilder<'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