logo
pub fn check_copy_query_pool_results<D, T>(
    device: &Device,
    query_pool: &QueryPool,
    queries: Range<u32>,
    destination: &D,
    flags: QueryResultFlags
) -> Result<DeviceSize, CheckCopyQueryPoolResultsError> where
    D: ?Sized + TypedBufferAccess<Content = [T]>,
    T: QueryResultElement
Expand description

Checks whether a copy_query_pool_results command is valid.

Panic

  • Panics if the query pool or buffer was not created with device.