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
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
)