pub trait ProfilerCommandRecorder {
// Required methods
fn is_pass(&self) -> bool;
fn write_timestamp(&mut self, query_set: &QuerySet, query_index: u32);
fn push_debug_group(&mut self, label: &str);
fn pop_debug_group(&mut self);
}Expand description
Trait for exposing the methods of wgpu::CommandEncoder, wgpu::RenderPass and wgpu::ComputePass that are used by the profiler.