pub fn resolve_queries(&mut self, encoder: &mut wgpu::CommandEncoder) {
        for query_pool in self.active_frame.query_pools.iter_mut() {
            if query_pool.num_resolved_queries == query_pool.num_used_queries {
                continue;
            }
            assert!(query_pool.num_resolved_queries < query_pool.num_used_queries);
            encoder.resolve_query_set(
                &query_pool.query_set,
                query_pool.num_resolved_queries..query_pool.num_used_queries,
                &query_pool.buffer,
                (query_pool.num_resolved_queries * QUERY_SIZE) as u64,
            );
            query_pool.num_resolved_queries = query_pool.num_used_queries;
        }
    }
/// Puts query resolve commands in the encoder for all unresolved, pending queries of the current profiler frame.
Puts query resolve commands in the encoder for all unresolved, pending queries of the current profiler frame.
Puts query resolve commands in the encoder for all unresolved pending queries of the current profiler frame .
pub fn resolve_queries(&mut self, encoder: &mut wgpu::CommandEncoder) {
        for query_pool in self.active_frame.query_pools.iter_mut() {
            if query_pool.num_resolved_queries == query_pool.num_used_queries {
                continue;
            }
            assert!(query_pool.num_resolved_queries < query_pool.num_used_queries);
            encoder.resolve_query_set(
                &query_pool.query_set,
                query_pool.num_resolved_queries..query_pool.num_used_queries,
                &query_pool.buffer,
                (query_pool.num_resolved_queries * QUERY_SIZE) as u64,
            );
            query_pool.num_resolved_queries = query_pool.num_used_queries;
        }
    }
pub fn resolve_queries ( & mut self , encoder : & mut wgpu :: CommandEncoder ) { for query_pool in self . active_frame . query_pools . iter_mut ( ) { if query_pool . num_resolved_queries == query_pool . num_used_queries { continue ; } assert ! ( query_pool num_resolved_queries query_pool num_used_queries ) ; encoder . resolve_query_set ( & query_pool . query_set , query_pool . num_resolved_queries .. query_pool . num_used_queries , & query_pool . buffer , ( query_pool . num_resolved_queries * QUERY_SIZE ) as u64 , ) ; query_pool . num_resolved_queries = query_pool . num_used_queries ; } }
Puts query resolve commands in the encoder for all unresolved, pending queries of the current profiler frame.
Puts query resolve commands in the encoder for all unresolved pending queries of the current profiler frame .
&mut self
encoder
&mut wgpu::CommandEncoder
&mut self
encoder
&mut wgpu::CommandEncoder