pub struct ComputePassDesc<'a> {
pub label: Option<&'a str>,
pub timestamp_writes: Option<PassTimestampWrites>,
}Expand description
A compute pass.
Compute has no attachments, so this exists purely to give the pass a name and a timestamp boundary — which is exactly what the per-pass GPU timer report needs (topic 03 §3.5).
Fields§
§label: Option<&'a str>Pass name; see RenderPassDesc::label.
timestamp_writes: Option<PassTimestampWrites>Timestamps bracketing this pass; see
RenderPassDesc::timestamp_writes.
Trait Implementations§
Source§impl<'a> Clone for ComputePassDesc<'a>
impl<'a> Clone for ComputePassDesc<'a>
impl<'a> Copy for ComputePassDesc<'a>
Source§impl<'a> Debug for ComputePassDesc<'a>
impl<'a> Debug for ComputePassDesc<'a>
impl<'a> Eq for ComputePassDesc<'a>
Source§impl<'a> PartialEq for ComputePassDesc<'a>
impl<'a> PartialEq for ComputePassDesc<'a>
impl<'a> StructuralPartialEq for ComputePassDesc<'a>
Auto Trait Implementations§
impl<'a> Freeze for ComputePassDesc<'a>
impl<'a> RefUnwindSafe for ComputePassDesc<'a>
impl<'a> Send for ComputePassDesc<'a>
impl<'a> Sync for ComputePassDesc<'a>
impl<'a> Unpin for ComputePassDesc<'a>
impl<'a> UnsafeUnpin for ComputePassDesc<'a>
impl<'a> UnwindSafe for ComputePassDesc<'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