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

Method get_fps

native/shared/src/engine.rs:182–182  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

180 }
181
182 pub fn get_fps(&self) -> f64 { self.current_fps }
183 pub fn get_time(&self) -> f64 { self.start_time.elapsed().as_secs_f64() }
184 pub fn screen_width(&self) -> f64 { self.renderer.width() as f64 }
185 pub fn screen_height(&self) -> f64 { self.renderer.height() as f64 }

Callers 7

bloom_get_fpsFunction · 0.80
bloom_get_fpsFunction · 0.80
bloom_get_fpsFunction · 0.80
bloom_get_fpsFunction · 0.80
bloom_get_fpsFunction · 0.80
bloom_get_fpsFunction · 0.80
bloom_get_fpsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected