Struct wgpu_core::command::RenderPassDescriptor [−][src]
pub struct RenderPassDescriptor<'a> {
pub label: Label<'a>,
pub color_attachments: Cow<'a, [RenderPassColorAttachment]>,
pub depth_stencil_attachment: Option<&'a RenderPassDepthStencilAttachment>,
}
Expand description
Describes the attachments of a render pass.
Fields
label: Label<'a>
color_attachments: Cow<'a, [RenderPassColorAttachment]>
The color attachments of the render pass.
depth_stencil_attachment: Option<&'a RenderPassDepthStencilAttachment>
The depth and stencil attachment of the render pass, if any.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for RenderPassDescriptor<'a>
impl<'a> Send for RenderPassDescriptor<'a>
impl<'a> Sync for RenderPassDescriptor<'a>
impl<'a> Unpin for RenderPassDescriptor<'a>
impl<'a> !UnwindSafe for RenderPassDescriptor<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more