pub trait GpuQueue: Send + Sync {
// Required methods
fn submit(&mut self, commands: Vec<RecordedCommand>);
fn on_completion(&mut self, callback: Box<dyn FnOnce() + Send>);
}Expand description
Command queue for submitting work to the GPU.