MCPcopy Create free account
hub / github.com/esengine/esengine / invalidate

Method invalidate

packages/core/src/ECS/Systems/EntityCache.ts:110–112  ·  view source on GitHub ↗

* 使持久缓存失效 * * 当实体变化时调用,强制下次查询时重新计算

()

Source from the content-addressed store, hash-verified

108 * 当实体变化时调用,强制下次查询时重新计算
109 */
110 public invalidate(): void {
111 this._persistentCache = null;
112 }
113
114 /**
115 * 清除帧缓存

Callers 4

initializeFunction · 0.45
clearEntityCacheFunction · 0.45
updateEntityTrackingFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected