'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var TextureSource = require('./sources/TextureSource.js');
var Texture = require('./Texture.js');

class RenderTexture extends Texture.Texture {
  static create(options) {
    return new Texture.Texture({
      source: new TextureSource.TextureSource(options)
    });
  }
  resize(width, height, resolution) {
    this.source.resize(width, height, resolution);
    return this;
  }
}

exports.RenderTexture = RenderTexture;
//# sourceMappingURL=RenderTexture.js.map
