pub struct RenderPassDescriptor<'a> {
pub label: Label<'a>,
pub color_attachments: Cow<'a, [Option<RenderPassColorAttachment>]>,
pub depth_stencil_attachment: Option<&'a RenderPassDepthStencilAttachment>,
pub timestamp_writes: Option<&'a PassTimestampWrites>,
pub occlusion_query_set: Option<QuerySetId>,
}
Expand description
Describes the attachments of a render pass.
Fields§
§label: Label<'a>
§color_attachments: Cow<'a, [Option<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.
timestamp_writes: Option<&'a PassTimestampWrites>
Defines where and when timestamp values will be written for this pass.
occlusion_query_set: Option<QuerySetId>
Defines where the occlusion query results will be stored for this pass.
Trait Implementations§
Source§impl<'a> Clone for RenderPassDescriptor<'a>
impl<'a> Clone for RenderPassDescriptor<'a>
Source§fn clone(&self) -> RenderPassDescriptor<'a>
fn clone(&self) -> RenderPassDescriptor<'a>
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 moreSource§impl<'a> Debug for RenderPassDescriptor<'a>
impl<'a> Debug for RenderPassDescriptor<'a>
Source§impl<'a> Default for RenderPassDescriptor<'a>
impl<'a> Default for RenderPassDescriptor<'a>
Source§fn default() -> RenderPassDescriptor<'a>
fn default() -> RenderPassDescriptor<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> PartialEq for RenderPassDescriptor<'a>
impl<'a> PartialEq for RenderPassDescriptor<'a>
impl<'a> StructuralPartialEq for RenderPassDescriptor<'a>
Auto Trait Implementations§
impl<'a> Freeze for RenderPassDescriptor<'a>
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§
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)