pub fn resolve(&self, encoder: &mut wgpu::CommandEncoder) {
        self.stats
            .as_ref()
            .unwrap()
            .resolve(self.query_count(), encoder);
        // if !self.resolved.replace(true) {
        //     // If replace() returns false then the query set still needs to be resolved
        //     self.foreach_query_set(|query_set| query_set.resolve(self.query_count(), encoder));
        // }
    }
/// Must be called before get()
Must be called before get()
Must be called before get ()
pub fn resolve(&self, encoder: &mut wgpu::CommandEncoder) {
        self.stats
            .as_ref()
            .unwrap()
            .resolve(self.query_count(), encoder);
        // if !self.resolved.replace(true) {
        //     // If replace() returns false then the query set still needs to be resolved
        //     self.foreach_query_set(|query_set| query_set.resolve(self.query_count(), encoder));
        // }
    }
pub fn resolve ( & self , encoder : & mut wgpu :: CommandEncoder ) { self . stats . as_ref ( ) . unwrap ( ) . resolve ( self . query_count ( ) , encoder ) ; // if !self.resolved.replace(true) { //     // If replace() returns false then the query set still needs to be resolved //     self.foreach_query_set(|query_set| query_set.resolve(self.query_count(), encoder)); // } }
Must be called before get()
Must be called before get ()
&self
encoder
&mut wgpu::CommandEncoder
&self
encoder
&mut wgpu::CommandEncoder