docs: function TextureAtlas (opts) {
      var file    = opts.file
        , url     = opts.url
        , data    = opts.data
        , texture = opts.texture
        , canvas  = opts.canvas
  
      if (canvas) {
          // If we've been given a canvas element then we'll use that for our image
          this.imgElement = canvas
      } else {
          texture = new Texture2D({ url: url, texture: texture, file: file, data: data })
          events.addListenerOnce(texture, 'load', function () {
              events.trigger(this, 'load')
          }.bind(this))
          this.texture = texture
          this.imgElement = texture.imgElement
      }
  
      this.quads = []
  }