pub struct RenderPassDescriptor<'a, 'b> {
pub color_attachments: &'b [RenderPassColorAttachmentDescriptor<'a>],
pub depth_stencil_attachment: Option<RenderPassDepthStencilAttachmentDescriptor<'a>>,
}
Expand description
Describes the attachments of a RenderPass
.
Fields§
§color_attachments: &'b [RenderPassColorAttachmentDescriptor<'a>]
The color attachments of the render pass.
depth_stencil_attachment: Option<RenderPassDepthStencilAttachmentDescriptor<'a>>
The depth and stencil attachment of the render pass, if any.
Trait Implementations§
Source§impl<'a, 'b> Clone for RenderPassDescriptor<'a, 'b>
impl<'a, 'b> Clone for RenderPassDescriptor<'a, 'b>
Source§fn clone(&self) -> RenderPassDescriptor<'a, 'b>
fn clone(&self) -> RenderPassDescriptor<'a, 'b>
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, 'b> Freeze for RenderPassDescriptor<'a, 'b>
impl<'a, 'b> !RefUnwindSafe for RenderPassDescriptor<'a, 'b>
impl<'a, 'b> Send for RenderPassDescriptor<'a, 'b>
impl<'a, 'b> Sync for RenderPassDescriptor<'a, 'b>
impl<'a, 'b> Unpin for RenderPassDescriptor<'a, 'b>
impl<'a, 'b> !UnwindSafe for RenderPassDescriptor<'a, 'b>
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