MCPcopy Create free account
hub / github.com/DioxusLabs/anyrender / size

Method size

crates/wgpu_context/src/buffer_renderer.rs:71–77  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

69 }
70
71 pub fn size(&self) -> Extent3d {
72 Extent3d {
73 width: self.config.width,
74 height: self.config.height,
75 depth_or_array_layers: 1,
76 }
77 }
78
79 pub fn resize(&mut self, width: u32, height: u32) {
80 self.config.width = width;

Callers 3

render_to_vecMethod · 0.80
renderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected