import { ThinEngine } from '@babylonjs/core/Engines/thinEngine';
import { Extensions } from './Extensions';
class ThinEngineExtensions {
    _thinEngine;
    constructor(_thinEngine) {
        this._thinEngine = _thinEngine;
    }
    getRenderSizeToRef(dst) {
        dst.width = this._thinEngine.getRenderWidth();
        dst.height = this._thinEngine.getRenderHeight();
        return dst;
    }
}
Object.defineProperty(ThinEngine.prototype, Extensions.TWINFINITY_PROPERTY, {
    enumerable: false,
    configurable: true,
    get: function () {
        const ret = new ThinEngineExtensions(this);
        Object.defineProperty(this, Extensions.TWINFINITY_PROPERTY, {
            value: ret
        });
        return ret;
    }
});
//# sourceMappingURL=ThinEngineExtensions.js.map