Struct wgpu_core::command::render::ArcRenderPassDescriptor
source · struct ArcRenderPassDescriptor<'a> {
pub label: &'a Label<'a>,
pub color_attachments: ArrayVec<Option<ArcRenderPassColorAttachment>, { hal::MAX_COLOR_ATTACHMENTS }>,
pub depth_stencil_attachment: Option<ArcRenderPassDepthStencilAttachment>,
pub timestamp_writes: Option<ArcPassTimestampWrites>,
pub occlusion_query_set: Option<Arc<QuerySet>>,
}
Expand description
Describes the attachments of a render pass.
Fields§
§label: &'a Label<'a>
§color_attachments: ArrayVec<Option<ArcRenderPassColorAttachment>, { hal::MAX_COLOR_ATTACHMENTS }>
The color attachments of the render pass.
depth_stencil_attachment: Option<ArcRenderPassDepthStencilAttachment>
The depth and stencil attachment of the render pass, if any.
timestamp_writes: Option<ArcPassTimestampWrites>
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.
Auto Trait Implementations§
impl<'a> Freeze for ArcRenderPassDescriptor<'a>
impl<'a> !RefUnwindSafe for ArcRenderPassDescriptor<'a>
impl<'a> Send for ArcRenderPassDescriptor<'a>
impl<'a> Sync for ArcRenderPassDescriptor<'a>
impl<'a> Unpin for ArcRenderPassDescriptor<'a>
impl<'a> !UnwindSafe for ArcRenderPassDescriptor<'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