MCPcopy Create free account
hub / github.com/galacean/engine / clear

Method clear

packages/core/src/utils/ClearableObjectPool.ts:32–34  ·  view source on GitHub ↗

* Clear used object count to 0, not destroy any object, just change index.

()

Source from the content-addressed store, hash-verified

30 * Clear used object count to 0, not destroy any object, just change index.
31 */
32 clear(): void {
33 this._usedElementCount = 0;
34 }
35}

Callers 1

renderOverlayMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected