pub enum Type {
Occlusion,
PipelineStatistics(PipelineStatistic),
Timestamp,
}
Expand description
Type of queries in a query pool.
Variants
Occlusion
Occlusion query. Count the number of drawn samples between the start and end of the query command.
PipelineStatistics(PipelineStatistic)
Pipeline statistic query. Counts the number of pipeline stage invocations of the given types between the start and end of the query command.
Timestamp
Timestamp query. Timestamps can be recorded to the
query pool by calling write_timestamp()
.
Trait Implementations
impl Copy for Type
impl Eq for Type
impl StructuralEq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more