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>
Source§fn clone(&self) -> ResolvedRenderPassDescriptor<'a>
fn clone(&self) -> ResolvedRenderPassDescriptor<'a>
Returns a duplicate 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 moreSource§impl<'a> Default for ResolvedRenderPassDescriptor<'a>
impl<'a> Default for ResolvedRenderPassDescriptor<'a>
Source§fn default() -> ResolvedRenderPassDescriptor<'a>
fn default() -> ResolvedRenderPassDescriptor<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for ResolvedRenderPassDescriptor<'a>
impl<'a> !RefUnwindSafe for ResolvedRenderPassDescriptor<'a>
impl<'a> Send for ResolvedRenderPassDescriptor<'a>
impl<'a> Sync for ResolvedRenderPassDescriptor<'a>
impl<'a> Unpin for ResolvedRenderPassDescriptor<'a>
impl<'a> !UnwindSafe for ResolvedRenderPassDescriptor<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more