UNPKG

itowns

Version:

A JS/WebGL framework for 3D geospatial data visualization

26 lines (25 loc) 674 B
/** * Cache policies for flushing. Those policies can be used when something is * [set]{@link Cache.set} into the Cache, as the lifetime property. */ export type CACHE_POLICIES = { /** * - The entry is never flushed, except when the * `all` flag is set to `true` when calling {@link Cache.flush}. */ INFINITE: number; /** * - Shortcut for texture resources. Time is 15 minutes. */ TEXTURE: number; /** * - Shortcut for geometry resources. Time is 15 minutes. * minutes. */ GEOMETRY: number; }; export namespace CACHE_POLICIES { let INFINITE: number; let TEXTURE: number; let GEOMETRY: number; }