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

Method physical_width

native/shared/src/renderer/mod.rs:12883–12885  ·  view source on GitHub ↗

Physical pixel dimensions of the swapchain and post-process render targets. Always equal to `width`/`height` on non-HiDPI platforms; `logical * scale_factor` on Retina/Web.

(&self)

Source from the content-addressed store, hash-verified

12881 /// render targets. Always equal to `width`/`height` on non-HiDPI
12882 /// platforms; `logical * scale_factor` on Retina/Web.
12883 pub fn physical_width(&self) -> u32 {
12884 self.surface_config.width
12885 }
12886
12887 pub fn physical_height(&self) -> u32 {
12888 self.surface_config.height

Callers 9

wndprocFunction · 0.80
bloom_get_physical_widthFunction · 0.80
bloom_get_physical_widthFunction · 0.80
bloom_begin_drawingFunction · 0.80
bloom_get_physical_widthFunction · 0.80
poll_eventsFunction · 0.80
bloom_get_physical_widthFunction · 0.80
bloom_resizeFunction · 0.80
bloom_get_physical_widthFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected