pub fn spawn_sampler( backend: Box<dyn GpuBackend>, interval: Duration, ) -> (Receiver<SamplerEvent>, SamplerHandle)