()
| 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; |
no test coverage detected