UNPKG

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