Struct vulkano::query::QueryControlFlags
source · [−]pub struct QueryControlFlags {
pub precise: bool,
}
Expand description
Flags that control how a query is to be executed.
Fields
precise: bool
For occlusion queries, specifies that the result must reflect the exact number of tests passed. If not enabled, the query may return a result of 1 even if more fragments passed the test.
Trait Implementations
sourceimpl Clone for QueryControlFlags
impl Clone for QueryControlFlags
sourcefn clone(&self) -> QueryControlFlags
fn clone(&self) -> QueryControlFlags
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for QueryControlFlags
impl Debug for QueryControlFlags
sourceimpl Default for QueryControlFlags
impl Default for QueryControlFlags
sourcefn default() -> QueryControlFlags
fn default() -> QueryControlFlags
Returns the “default value” for a type. Read more
sourceimpl From<QueryControlFlags> for QueryControlFlags
impl From<QueryControlFlags> for QueryControlFlags
sourcefn from(value: QueryControlFlags) -> Self
fn from(value: QueryControlFlags) -> Self
Converts to this type from the input type.
impl Copy for QueryControlFlags
Auto Trait Implementations
impl RefUnwindSafe for QueryControlFlags
impl Send for QueryControlFlags
impl Sync for QueryControlFlags
impl Unpin for QueryControlFlags
impl UnwindSafe for QueryControlFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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