pub struct StatusBarData {
pub fps: f32,
pub frame_time_ms: f32,
pub entity_count: usize,
pub memory_used_mb: f32,
pub draw_calls: u32,
pub triangles: u64,
pub vram_mb: f32,
pub cpu_load: f32,
pub gpu_load: f32,
}Expand description
Status bar data displayed at the bottom of the editor.
Populated each frame by EditorApp::update; the GPU-related fields are
pulled from TelemetryService when available, otherwise stay at 0.
Fields§
§fps: f32§frame_time_ms: f32§entity_count: usize§memory_used_mb: f32§draw_calls: u32GPU draw calls last frame (from GpuReport). 0 when telemetry has no
reading yet.
triangles: u64GPU triangles rendered last frame.
vram_mb: f32Approximate VRAM use in MB. 0 if not reported.
cpu_load: f32CPU load (0.0–1.0) as reported by HardwareReport.
gpu_load: f32GPU load (0.0–1.0) as reported by HardwareReport.
Trait Implementations§
Source§impl Clone for StatusBarData
impl Clone for StatusBarData
Source§fn clone(&self) -> StatusBarData
fn clone(&self) -> StatusBarData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StatusBarData
impl Debug for StatusBarData
Auto Trait Implementations§
impl Freeze for StatusBarData
impl RefUnwindSafe for StatusBarData
impl Send for StatusBarData
impl Sync for StatusBarData
impl Unpin for StatusBarData
impl UnsafeUnpin for StatusBarData
impl UnwindSafe for StatusBarData
Blanket Implementations§
Source§impl<T> AppLifecycle for Twhere
T: ?Sized,
impl<T> AppLifecycle for Twhere
T: ?Sized,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more