import { TextureSource } from './sources/TextureSource.mjs';
import { Texture } from './Texture.mjs';

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

export { RenderTexture };
//# sourceMappingURL=RenderTexture.mjs.map
