Struct egui::util::cache::FrameCache [−][src]
pub struct FrameCache<Value, Computer> { /* fields omitted */ }
Expand description
Caches the results of a computation for one frame. If it is still used next frame, it is not recomputed. If it is not used next frame, it is evicted from the cache to save memory.
Implementations
Must be called once per frame to clear the cache.