function TexturePacker({ width, height, borderPadding }) {
  this._width = width;
  this._height = height;

  this._borderPadding = borderPadding;

  this._root = new TextureNode({
    x: borderPadding,
    y: borderPadding,
    width: width - 2 * borderPadding,
    height: height - 2 * borderPadding,
  });
}
Typically used with {@link TextureAtlas} to calculate efficient regions of the larger areas to store images or other data. Typically, all units are specified in pixels.
@alias TexturePacker
@constructor
@private
@param {options} options Object with the following properties:
@param {number} options.width Width of the atlas, in pixels
@param {number} options.height Height of atlas, in pixels
@param {number} options.borderPadding Amount of border padding, in pixels