Struct vulkano::query::QueryResultFlags [−][src]
Expand description
Flags to control how the results of a query should be retrieved.
VK_QUERY_RESULT_64_BIT
is not included, as it is determined automatically via the
QueryResultElement
trait.
Fields
wait: bool
Wait for the results to become available before writing the results.
with_availability: bool
Write an additional element to the end of each query’s results, indicating the availability of the results:
- Nonzero: The results are available, and have been written to the element(s) preceding.
- Zero: The results are not yet available, and have not been written.
partial: bool
Allow writing partial results to the buffer, instead of waiting until they are fully available.
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for QueryResultFlags
impl Send for QueryResultFlags
impl Sync for QueryResultFlags
impl Unpin for QueryResultFlags
impl UnwindSafe for QueryResultFlags
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.