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

Method flushBatch

packages/fairygui/src/render/RenderBridge.ts:271–276  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

269 }
270
271 private flushBatch(): void {
272 if (this._batchBuffer.length === 0) return;
273
274 this._backend.submitPrimitives(this._batchBuffer);
275 this._batchBuffer.length = 0;
276 }
277
278 private evictOldTextures(): void {
279 const minFrame = this._currentFrame - this._textureCacheMaxAge;

Callers 4

endFrameMethod · 0.95
pushClipRectMethod · 0.95
popClipRectMethod · 0.95
processPrimitiveMethod · 0.95

Calls 1

submitPrimitivesMethod · 0.65

Tested by

no test coverage detected