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

Method width

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

Logical (points / CSS px) width — what user code sees via `screenWidth` and what 2D HUD coordinates are expressed in. On HiDPI displays the underlying render target is larger (see `physical_width`).

(&self)

Source from the content-addressed store, hash-verified

12870 /// On HiDPI displays the underlying render target is larger (see
12871 /// `physical_width`).
12872 pub fn width(&self) -> u32 {
12873 self.logical_width
12874 }
12875
12876 pub fn height(&self) -> u32 {
12877 self.logical_height

Callers 15

write_compositeFunction · 0.45
mainFunction · 0.45
bloom_scene_pick_allFunction · 0.45
bloom_scene_pick_allFunction · 0.45
bloom_enable_postfxFunction · 0.45
bloom_project_to_screenFunction · 0.45
bloom_scene_pickFunction · 0.45
bloom_begin_drawingFunction · 0.45
bloom_scene_pick_allFunction · 0.45
bloom_enable_postfxFunction · 0.45
bloom_begin_drawingFunction · 0.45
bloom_enable_postfxFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected