Struct wgpu::RenderPassTimestampWrites
source · pub struct RenderPassTimestampWrites<'a> {
pub query_set: &'a QuerySet,
pub beginning_of_pass_write_index: Option<u32>,
pub end_of_pass_write_index: Option<u32>,
}
Expand description
Describes the timestamp writes of a render pass.
For use with RenderPassDescriptor
.
At least one of beginning_of_pass_write_index
and end_of_pass_write_index
must be Some
.
Corresponds to WebGPU GPURenderPassTimestampWrite
.
Fields§
§query_set: &'a QuerySet
The query set to write to.
beginning_of_pass_write_index: Option<u32>
The index of the query set at which a start timestamp of this pass is written, if any.
end_of_pass_write_index: Option<u32>
The index of the query set at which an end timestamp of this pass is written, if any.
Trait Implementations§
source§impl<'a> Clone for RenderPassTimestampWrites<'a>
impl<'a> Clone for RenderPassTimestampWrites<'a>
source§fn clone(&self) -> RenderPassTimestampWrites<'a>
fn clone(&self) -> RenderPassTimestampWrites<'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 moreAuto Trait Implementations§
impl<'a> Freeze for RenderPassTimestampWrites<'a>
impl<'a> !RefUnwindSafe for RenderPassTimestampWrites<'a>
impl<'a> Send for RenderPassTimestampWrites<'a>
impl<'a> Sync for RenderPassTimestampWrites<'a>
impl<'a> Unpin for RenderPassTimestampWrites<'a>
impl<'a> !UnwindSafe for RenderPassTimestampWrites<'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