Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/esengine/esengine
/ clearAll
Method
clearAll
packages/core/src/ECS/Systems/EntityCache.ts:128–132 ·
view source on GitHub ↗
* 清除所有缓存 * * 在系统重置或销毁时调用
()
Source
from the content-addressed store, hash-verified
126
* 在系统重置或销毁时调用
127
*/
128
public clearAll(): void {
129
this._frameCache = null;
130
this._persistentCache = null;
131
this._trackedEntities.clear();
132
}
133
134
/**
135
* 检查是否有有效的持久缓存
Callers
3
resetEntityTracking
Function · 0.45
reset
Function · 0.45
dispose
Function · 0.45
Calls
1
clear
Method · 0.65
Tested by
no test coverage detected