21 lines
641 B
JavaScript
21 lines
641 B
JavaScript
shadow$provide.module$node_modules$pixi_DOT_js$lib$rendering$batcher$shared$BatchTextureArray = function(global, require, module, exports) {
|
|
class BatchTextureArray {
|
|
constructor() {
|
|
this.ids = Object.create(null);
|
|
this.textures = [];
|
|
this.count = 0;
|
|
}
|
|
clear() {
|
|
for (let i = 0; i < this.count; i++) {
|
|
const t = this.textures[i];
|
|
this.textures[i] = null;
|
|
this.ids[t.uid] = null;
|
|
}
|
|
this.count = 0;
|
|
}
|
|
}
|
|
exports.BatchTextureArray = BatchTextureArray;
|
|
};
|
|
|
|
//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$rendering$batcher$shared$BatchTextureArray.js.map
|