function ParticleContainer(maxSize, properties, batchSize, autoResize) {
        if (maxSize === void 0) { maxSize = 1500; }
        if (batchSize === void 0) { batchSize = 16384; }
        if (autoResize === void 0) { autoResize = false; }
        var _this = _super.call(this) || this;
        // Making sure the batch size is valid
        // 65535 is max vertex index in the index buffer (see ParticleRenderer)
        // so max number of particles is 65536 / 4 = 16384
        var maxBatchSize = 16384;
        if (batchSize > maxBatchSize) {
            batchSize = maxBatchSize;
        }
        _this._properties = [false, true, false, false, false];
        _this._maxSize = maxSize;
        _this._batchSize = batchSize;
        _this._buffers = null;
        _this._bufferUpdateIDs = [];
        _this._updateID = 0;
        _this.interactiveChildren = false;
        _this.blendMode = _pixi_constants__WEBPACK_IMPORTED_MODULE_0__.BLEND_MODES.NORMAL;
        _this.autoResize = autoResize;
        _this.roundPixels = true;
        _this.baseTexture = null;
        _this.setProperties(properties);
        _this._tint = 0;
        _this.tintRgb = new Float32Array(4);
        _this.tint = 0xFFFFFF;
        return _this;
    }
@param maxSize - The maximum number of particles that can be rendered by the container.
 Affects size of allocated buffers.
@param properties - The properties of children that should be uploaded to the gpu and applied.
@param {boolean} [properties.vertices=false] - When true, vertices be uploaded and applied.
                 if sprite's ` scale/anchor/trim/frame/orig` is dynamic, please set `true`.
@param {boolean} [properties.position=true] - When true, position be uploaded and applied.
@param {boolean} [properties.rotation=false] - When true, rotation be uploaded and applied.
@param {boolean} [properties.uvs=false] - When true, uvs be uploaded and applied.
@param {boolean} [properties.tint=false] - When true, alpha and tint be uploaded and applied.
@param {number} [batchSize=16384] - Number of particles per batch. If less than maxSize, it uses maxSize instead.
@param {boolean} [autoResize=false] - If true, container allocates more batches in case
 there are more than `maxSize` particles.