pub struct QueryPipelineStatisticFlags(/* private fields */);
Expand description
For PipelineStatistics
queries, the statistics that should be gathered.
Implementations§
Source§impl QueryPipelineStatisticFlags
impl QueryPipelineStatisticFlags
Sourcepub const INPUT_ASSEMBLY_VERTICES: Self
pub const INPUT_ASSEMBLY_VERTICES: Self
Count the number of vertices processed by the input assembly.
Sourcepub const INPUT_ASSEMBLY_PRIMITIVES: Self
pub const INPUT_ASSEMBLY_PRIMITIVES: Self
Count the number of primitives processed by the input assembly.
Sourcepub const VERTEX_SHADER_INVOCATIONS: Self
pub const VERTEX_SHADER_INVOCATIONS: Self
Count the number of times a vertex shader is invoked.
Sourcepub const GEOMETRY_SHADER_INVOCATIONS: Self
pub const GEOMETRY_SHADER_INVOCATIONS: Self
Count the number of times a geometry shader is invoked.
Sourcepub const GEOMETRY_SHADER_PRIMITIVES: Self
pub const GEOMETRY_SHADER_PRIMITIVES: Self
Count the number of primitives generated by geometry shaders.
Sourcepub const CLIPPING_INVOCATIONS: Self
pub const CLIPPING_INVOCATIONS: Self
Count the number of times the clipping stage is invoked on a primitive.
Sourcepub const CLIPPING_PRIMITIVES: Self
pub const CLIPPING_PRIMITIVES: Self
Count the number of primitives that are output by the clipping stage.
Sourcepub const FRAGMENT_SHADER_INVOCATIONS: Self
pub const FRAGMENT_SHADER_INVOCATIONS: Self
Count the number of times a fragment shader is invoked.
Sourcepub const TESSELLATION_CONTROL_SHADER_PATCHES: Self
pub const TESSELLATION_CONTROL_SHADER_PATCHES: Self
Count the number of patches processed by a tessellation control shader.
Sourcepub const TESSELLATION_EVALUATION_SHADER_INVOCATIONS: Self
pub const TESSELLATION_EVALUATION_SHADER_INVOCATIONS: Self
Count the number of times a tessellation evaluation shader is invoked.
Sourcepub const COMPUTE_SHADER_INVOCATIONS: Self
pub const COMPUTE_SHADER_INVOCATIONS: Self
Count the number of times a compute shader is invoked.
Sourcepub const TASK_SHADER_INVOCATIONS: Self
pub const TASK_SHADER_INVOCATIONS: Self
Count the number of times a task shader is invoked.
Sourcepub const MESH_SHADER_INVOCATIONS: Self
pub const MESH_SHADER_INVOCATIONS: Self
Count the number of times a mesh shader is invoked.
Sourcepub const fn intersects(self, other: Self) -> bool
pub const fn intersects(self, other: Self) -> bool
Returns whether any flags are set in both self
and other
.
Sourcepub const fn contains(self, other: Self) -> bool
pub const fn contains(self, other: Self) -> bool
Returns whether all flags in other
are set in self
.
Sourcepub const fn intersection(self, other: Self) -> Self
pub const fn intersection(self, other: Self) -> Self
Returns the intersection of self
and other
.
Sourcepub const fn difference(self, other: Self) -> Self
pub const fn difference(self, other: Self) -> Self
Returns self
without the flags set in other
.
Sourcepub const fn symmetric_difference(self, other: Self) -> Self
pub const fn symmetric_difference(self, other: Self) -> Self
Returns the flags that are set in self
or other
, but not in both.
Sourcepub const fn is_compute(self) -> bool
pub const fn is_compute(self) -> bool
Returns true
if self
contains any flags referring to compute operations.
Sourcepub const fn is_graphics(self) -> bool
pub const fn is_graphics(self) -> bool
Returns true
if self
contains any flags referring to graphics operations.
Sourcepub const fn is_primitive_shading_graphics(self) -> bool
pub const fn is_primitive_shading_graphics(self) -> bool
Returns true
if self
contains any flags referring to primitive shading graphics
operations.
Sourcepub const fn is_mesh_shading_graphics(self) -> bool
pub const fn is_mesh_shading_graphics(self) -> bool
Returns true
if self
contains any flags referring to mesh shading graphics
operations.
Trait Implementations§
Source§impl BitAnd for QueryPipelineStatisticFlags
impl BitAnd for QueryPipelineStatisticFlags
Source§impl BitAndAssign for QueryPipelineStatisticFlags
impl BitAndAssign for QueryPipelineStatisticFlags
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
&=
operation. Read moreSource§impl BitOr for QueryPipelineStatisticFlags
impl BitOr for QueryPipelineStatisticFlags
Source§impl BitOrAssign for QueryPipelineStatisticFlags
impl BitOrAssign for QueryPipelineStatisticFlags
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
|=
operation. Read moreSource§impl BitXor for QueryPipelineStatisticFlags
impl BitXor for QueryPipelineStatisticFlags
Source§impl BitXorAssign for QueryPipelineStatisticFlags
impl BitXorAssign for QueryPipelineStatisticFlags
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
^=
operation. Read moreSource§impl Clone for QueryPipelineStatisticFlags
impl Clone for QueryPipelineStatisticFlags
Source§fn clone(&self) -> QueryPipelineStatisticFlags
fn clone(&self) -> QueryPipelineStatisticFlags
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for QueryPipelineStatisticFlags
impl Debug for QueryPipelineStatisticFlags
Source§impl From<QueryPipelineStatisticFlags> for QueryPipelineStatisticFlags
impl From<QueryPipelineStatisticFlags> for QueryPipelineStatisticFlags
Source§fn from(val: QueryPipelineStatisticFlags) -> Self
fn from(val: QueryPipelineStatisticFlags) -> Self
Source§impl From<QueryPipelineStatisticFlags> for QueryPipelineStatisticFlags
impl From<QueryPipelineStatisticFlags> for QueryPipelineStatisticFlags
Source§fn from(val: QueryPipelineStatisticFlags) -> Self
fn from(val: QueryPipelineStatisticFlags) -> Self
Source§impl Hash for QueryPipelineStatisticFlags
impl Hash for QueryPipelineStatisticFlags
Source§impl Sub for QueryPipelineStatisticFlags
impl Sub for QueryPipelineStatisticFlags
Source§impl SubAssign for QueryPipelineStatisticFlags
impl SubAssign for QueryPipelineStatisticFlags
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
-=
operation. Read more