pub struct ResolvedRenderPassDescriptor<'a> {
pub label: Label<'a>,
pub color_attachments: Cow<'a, [Option<RenderPassColorAttachment<Arc<TextureView>>>]>,
pub depth_stencil_attachment: Option<RenderPassDepthStencilAttachment<Arc<TextureView>>>,
pub timestamp_writes: Option<PassTimestampWrites<Arc<QuerySet>>>,
pub occlusion_query_set: Option<Arc<QuerySet>>,
pub multiview_mask: Option<NonZeroU32>,
}Expand description
Describes the attachments of a render pass.
Fields§
§label: Label<'a>§color_attachments: Cow<'a, [Option<RenderPassColorAttachment<Arc<TextureView>>>]>The color attachments of the render pass.
depth_stencil_attachment: Option<RenderPassDepthStencilAttachment<Arc<TextureView>>>The depth and stencil attachment of the render pass, if any.
timestamp_writes: Option<PassTimestampWrites<Arc<QuerySet>>>Defines where and when timestamp values will be written for this pass.
occlusion_query_set: Option<Arc<QuerySet>>Defines where the occlusion query results will be stored for this pass.
multiview_mask: Option<NonZeroU32>The multiview array layers that will be used
Trait Implementations§
Source§impl<'a> Clone for ResolvedRenderPassDescriptor<'a>
impl<'a> Clone for ResolvedRenderPassDescriptor<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ResolvedRenderPassDescriptor<'a>
impl<'a> !UnwindSafe for ResolvedRenderPassDescriptor<'a>
impl<'a> Forget for ResolvedRenderPassDescriptor<'a>
impl<'a> Freeze for ResolvedRenderPassDescriptor<'a>where
&'a str: Freeze,
String: Freeze,
&'a [Option<RenderPassColorAttachment>]: Freeze,
Vec<Option<RenderPassColorAttachment>>: Freeze,
*const ArcInner<TextureView> is !null: Freeze,
PhantomData<ArcInner<TextureView>>: Freeze,
*const ArcInner<QuerySet> is !null: Freeze,
PhantomData<ArcInner<QuerySet>>: Freeze,
NonZero<u32>: Freeze,
impl<'a> Move for ResolvedRenderPassDescriptor<'a>
impl<'a> Send for ResolvedRenderPassDescriptor<'a>
impl<'a> Sync for ResolvedRenderPassDescriptor<'a>
impl<'a> Unpin for ResolvedRenderPassDescriptor<'a>
impl<'a> UnsafeUnpin for ResolvedRenderPassDescriptor<'a>where
&'a str: UnsafeUnpin,
String: UnsafeUnpin,
&'a [Option<RenderPassColorAttachment>]: UnsafeUnpin,
Vec<Option<RenderPassColorAttachment>>: UnsafeUnpin,
*const ArcInner<TextureView> is !null: UnsafeUnpin,
PhantomData<ArcInner<TextureView>>: UnsafeUnpin,
*const ArcInner<QuerySet> is !null: UnsafeUnpin,
PhantomData<ArcInner<QuerySet>>: UnsafeUnpin,
NonZeroU32Inner: UnsafeUnpin,
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