#[repr(u32)]
pub enum QueryType {
Show 19 variants
Timestamp,
TimeElapsed,
Occlusion,
OcclusionConservative,
OcclusionPrecision,
InputAssemblyVertices,
InputAssemblyPrimitives,
VertexShaderInvocations,
GeometryShaderInvocations,
GeometryShaderPrimitives,
TransformFeedbackPrimitivesWritten,
TransformFeedbackOverflow,
TransformFeedbackStreamOverflow,
ClippingInvocations,
ClippingPrimitives,
FragmentShaderInvocations,
TessellationControlShaderPatches,
TessellationEvaluationShaderInvocations,
ComputeShaderInvocations,
}
Expand description
Variants
Timestamp
TimeElapsed
Occlusion
OcclusionConservative
OcclusionPrecision
InputAssemblyVertices
InputAssemblyPrimitives
VertexShaderInvocations
Number of vertex shader invocations.
GeometryShaderInvocations
Number of geometry shader invocations.
GeometryShaderPrimitives
TransformFeedbackPrimitivesWritten
TransformFeedbackOverflow
TransformFeedbackStreamOverflow
ClippingInvocations
Number of input primitives for the primitive clipping stage.
ClippingPrimitives
Number of output primitives for the primitive clipping stage.
FragmentShaderInvocations
Number of fragment shader invocations.
TessellationControlShaderPatches
Number of patches processed by tessellation control shader.
TessellationEvaluationShaderInvocations
Number of tessellation evaluation shader invocations.
ComputeShaderInvocations
Number of compute shader invocations.
Trait Implementations
impl Copy for QueryType
impl Eq for QueryType
impl StructuralEq for QueryType
impl StructuralPartialEq for QueryType
Auto Trait Implementations
impl RefUnwindSafe for QueryType
impl Send for QueryType
impl Sync for QueryType
impl Unpin for QueryType
impl UnwindSafe for QueryType
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