MCPcopy Index your code
hub / github.com/ColmapView/Colmapview.github.io / clearFrustumBitmapCache

Function clearFrustumBitmapCache

src/hooks/frustumTextureCache.ts:176–181  ·  view source on GitHub ↗
(bitmapCache: FrustumBitmapCache)

Source from the content-addressed store, hash-verified

174}
175
176export function clearFrustumBitmapCache(bitmapCache: FrustumBitmapCache): void {
177 for (const { bitmap } of bitmapCache.values()) {
178 bitmap.close();
179 }
180 bitmapCache.clear();
181}

Callers 2

clearFrustumTextureCacheFunction · 0.90

Calls 3

valuesMethod · 0.65
closeMethod · 0.65
clearMethod · 0.65

Tested by

no test coverage detected