Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/donmccurdy/glTF-Transform
/ clear
Method
clear
packages/view/src/ImageProvider.ts:84–89 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
82
}
83
84
clear(): void {
85
for
(
const
[_, texture] of this._cache) {
86
texture.dispose();
87
}
88
this._cache.clear();
89
}
90
91
dispose(): void {
92
this.clear();
Callers
1
dispose
Method · 0.95
Calls
2
dispose
Method · 0.65
clear
Method · 0.65
Tested by
no test coverage detected