Struct vulkano::query::QueryPipelineStatisticFlags
source · pub struct QueryPipelineStatisticFlags(/* private fields */);
Expand description
For pipeline statistics 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 fn none() -> Self
👎Deprecated since 0.31.0: use empty
instead
pub const fn none() -> Self
empty
insteadReturns a QueryPipelineStatisticFlags
with none of the flags set.
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.
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 PartialEq for QueryPipelineStatisticFlags
impl PartialEq for QueryPipelineStatisticFlags
source§fn eq(&self, other: &QueryPipelineStatisticFlags) -> bool
fn eq(&self, other: &QueryPipelineStatisticFlags) -> bool
self
and other
values to be equal, and is used
by ==
.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