pub(crate) fn new_stats(device: &wgpu::Device, count: u32) -> Self {
        // Use all pipeline stat types
        let all = wgpu::PipelineStatisticsTypes::all();
        let ty = wgpu::QueryType::PipelineStatistics(all);

        let label = Some("PipelineStatistics QuerySet");
        Self::new_impl(device, ty, label, count)
    }
/// Creates a new `QuerySet` that counts various pipeline events.
/// See `QueryType::PipelineStatistics`
///
/// ! For now, this always uses all pipeline stat types.
Creates a new `QuerySet` that counts various pipeline events.

For now, this always uses all pipeline stat types.
Creates a new ` QuerySet ` that counts various pipeline events . For now this always uses all pipeline stat types .
pub(crate) fn new_stats(device: &wgpu::Device, count: u32) -> Self {
        // Use all pipeline stat types
        let all = wgpu::PipelineStatisticsTypes::all();
        let ty = wgpu::QueryType::PipelineStatistics(all);
        let label = Some("PipelineStatistics QuerySet");
        Self::new_impl(device, ty, label, count)
    }
pub ( crate ) fn new_stats ( device : & wgpu :: Device , count : u32 ) -> Self { // Use all pipeline stat types let all = wgpu :: PipelineStatisticsTypes :: all ( ) ; let ty = wgpu :: QueryType :: PipelineStatistics ( all ) ; let label = Some ( " " ) ; Self :: new_impl ( device , ty , label , count ) }
Creates a new `QuerySet` that counts various pipeline events.
Creates a new ` QuerySet ` that counts various pipeline events .
device
&wgpu::Device
count
u32
device
&wgpu::Device
count
u32