wgpu

Type Alias QuerySetDescriptor

Source
pub type QuerySetDescriptor<'a> = QuerySetDescriptor<Label<'a>>;
Expand description

Describes a QuerySet.

For use with Device::create_query_set.

Corresponds to WebGPU GPUQuerySetDescriptor.

Aliased Type§

struct QuerySetDescriptor<'a> {
    pub label: Option<&'a str>,
    pub ty: QueryType,
    pub count: u32,
}

Fields§

§label: Option<&'a str>

Debug label for the query set.

§ty: QueryType

Kind of query that this query set should contain.

§count: u32

Total count of queries the set contains. Must not be zero. Must not be greater than [QUERY_SET_MAX_QUERIES].