pub struct FrameStats {
pub sprites: u32,
pub skipped: u32,
pub batches: u32,
pub tiles: u32,
pub chunks: u32,
pub texts: u32,
pub glyphs: u32,
pub skipped_texts: u32,
pub ui_sprites: u32,
pub ui_glyphs: u32,
pub ui_texts: u32,
pub ui_batches: u32,
}Expand description
What a frame drew. Its draw calls into the virtual image are batches
and chunks, and onto the output the blit and ui_batches.
Fields§
§sprites: u32The sprites of the world drawn.
skipped: u32The sprites, and the glyphs of texts laid out, of the world and of
the UI, not drawn because their texture is not ready: still loading,
failed with no placeholder to show
(OnFailure::Nothing), or unknown to the
asset server.
batches: u32The instanced draws of the world’s sprites and texts’ glyphs.
tiles: u32The tiles drawn, of every tile layer.
chunks: u32The instanced draws of tiles: one for each chunk drawn.
texts: u32The world’s texts laid out and drawn, glyphs not ready aside.
glyphs: u32The glyphs drawn, of every text of the world: each a quad, as a sprite is.
skipped_texts: u32The texts of the world and of the UI not drawn: their font, its atlas or its sprite not ready, not loaded, or not the font’s.
ui_sprites: u32The UI’s sprites drawn: not those wholly outside their view’s clip.
ui_glyphs: u32The UI’s glyphs drawn: not those wholly outside their view’s clip.
ui_texts: u32The UI’s texts laid out, glyphs not ready or cut aside.
ui_batches: u32The instanced draws of the UI’s sprites and glyphs onto the output.