[][src]Type Definition sixtyfps_corelib::graphics::RenderingCache

type RenderingCache<Backend> = Arena<TrackingRenderingPrimitive<Backend>>;

The RenderingCache is used by the run-time library to avoid storing the typed GraphicsBackend::LowLevelRenderingPrimitive instances created for Items. Instead it allows mapping them to a usize handle, and it also allows tracking whenever any of the properties used to create the primitive changed.