UNPKG

292 BJavaScriptView Raw
1class BatchTextureArray {
2 constructor() {
3 this.elements = [], this.ids = [], this.count = 0;
4 }
5 clear() {
6 for (let i = 0; i < this.count; i++)
7 this.elements[i] = null;
8 this.count = 0;
9 }
10}
11export {
12 BatchTextureArray
13};
14//# sourceMappingURL=BatchTextureArray.mjs.map