MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / resize

Method resize

native/shared/src/postfx.rs:258–261  ·  view source on GitHub ↗
(&mut self, device: &wgpu::Device, width: u32, height: u32, surface_format: wgpu::TextureFormat)

Source from the content-addressed store, hash-verified

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;

Callers 12

load_glbFunction · 0.45
wndprocFunction · 0.45
bloom_begin_drawingFunction · 0.45
bloom_begin_drawingFunction · 0.45
prepareMethod · 0.45
stepMethod · 0.45
raycast_allMethod · 0.45
overlap_sphereMethod · 0.45
overlap_pointMethod · 0.45
overlap_boxMethod · 0.45
poll_eventsFunction · 0.45
bloom_resizeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected