(&mut self, device: &wgpu::Device, width: u32, height: u32, surface_format: wgpu::TextureFormat)
| 256 | } |
| 257 | |
| 258 | pub fn resize(&mut self, device: &wgpu::Device, width: u32, height: u32, surface_format: wgpu::TextureFormat) { |
| 259 | if width == self.width && height == self.height { return; } |
| 260 | *self = Self::new(device, width, height, surface_format); |
| 261 | } |
| 262 | |
| 263 | pub fn set_selected(&mut self, handles: Vec<f64>) { |
| 264 | self.selected_handles = handles; |
no outgoing calls
no test coverage detected