Skip to main content

image_stats

Function image_stats 

pub fn image_stats() -> (usize, u64, u64)
Expand description

(images alive, images made, nanoseconds spent making them) for the per-commit images of DmabufImage::texture. An image is alive from its creation until wgpu destroys its texture, which it does only after every submission that used it retired, so alive is the GPU’s backlog.