@itwin/ecschema-rpcinterface-tests 5.14.0-dev.14 → 5.14.0-dev.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/dist/bundled-tests.js +18 -20
- package/lib/dist/bundled-tests.js.map +1 -1
- package/lib/dist/core_frontend_lib_esm_ApproximateTerrainHeightsProps_js.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_cross-fetch_4_1_0_node_modules_cross-fetch_dist_browser-44272f.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_loaders_gl_draco_4_4_5__loaders_gl_core_4_4_5_node_modu-5e3596.bundled-tests.js.map +1 -1
- package/package.json +15 -15
|
@@ -131672,8 +131672,8 @@ class FrameBuffers {
|
|
|
131672
131672
|
idsAndZComposite;
|
|
131673
131673
|
idsAndAltZComposite;
|
|
131674
131674
|
edlDrawCol;
|
|
131675
|
-
init(textures, depth, depthMS) {
|
|
131676
|
-
if (!this.initPotentialMSFbos(textures, depth, depthMS))
|
|
131675
|
+
init(textures, depth, depthMS, boundColor) {
|
|
131676
|
+
if (!this.initPotentialMSFbos(textures, depth, depthMS, boundColor))
|
|
131677
131677
|
return false;
|
|
131678
131678
|
this.depthAndOrder = _FrameBuffer__WEBPACK_IMPORTED_MODULE_9__.FrameBuffer.create([(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(textures.depthAndOrder)], depth);
|
|
131679
131679
|
this.hilite = _FrameBuffer__WEBPACK_IMPORTED_MODULE_9__.FrameBuffer.create([(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(textures.hilite)], depth);
|
|
@@ -131681,7 +131681,7 @@ class FrameBuffers {
|
|
|
131681
131681
|
if (!this.depthAndOrder || !this.hilite || !this.hiliteUsingStencil)
|
|
131682
131682
|
return false;
|
|
131683
131683
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined === this.opaqueAll);
|
|
131684
|
-
if (!this.initPotentialMSMRTFbos(textures, depth, depthMS))
|
|
131684
|
+
if (!this.initPotentialMSMRTFbos(textures, depth, depthMS, boundColor))
|
|
131685
131685
|
return false;
|
|
131686
131686
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== textures.accumulation && undefined !== textures.revealage);
|
|
131687
131687
|
const colors = [textures.accumulation, textures.revealage];
|
|
@@ -131698,9 +131698,8 @@ class FrameBuffers {
|
|
|
131698
131698
|
&& undefined !== this.clearTranslucent
|
|
131699
131699
|
&& undefined !== this.pingPong;
|
|
131700
131700
|
}
|
|
131701
|
-
initPotentialMSFbos(textures, depth, depthMS) {
|
|
131702
|
-
|
|
131703
|
-
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== boundColor && undefined !== textures.color);
|
|
131701
|
+
initPotentialMSFbos(textures, depth, depthMS, boundColor) {
|
|
131702
|
+
;(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== textures.color);
|
|
131704
131703
|
if (undefined === depthMS) {
|
|
131705
131704
|
this.opaqueColor = _FrameBuffer__WEBPACK_IMPORTED_MODULE_9__.FrameBuffer.create([boundColor], depth);
|
|
131706
131705
|
this.opaqueAndCompositeColor = _FrameBuffer__WEBPACK_IMPORTED_MODULE_9__.FrameBuffer.create([textures.color], depth);
|
|
@@ -131713,10 +131712,8 @@ class FrameBuffers {
|
|
|
131713
131712
|
return undefined !== this.opaqueColor
|
|
131714
131713
|
&& undefined !== this.opaqueAndCompositeColor;
|
|
131715
131714
|
}
|
|
131716
|
-
initPotentialMSMRTFbos(textures, depth, depthMs) {
|
|
131717
|
-
|
|
131718
|
-
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== boundColor &&
|
|
131719
|
-
undefined !== textures.color &&
|
|
131715
|
+
initPotentialMSMRTFbos(textures, depth, depthMs, boundColor) {
|
|
131716
|
+
;(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== textures.color &&
|
|
131720
131717
|
undefined !== textures.featureId &&
|
|
131721
131718
|
undefined !== textures.depthAndOrder &&
|
|
131722
131719
|
undefined !== textures.accumulation &&
|
|
@@ -131830,23 +131827,23 @@ class FrameBuffers {
|
|
|
131830
131827
|
this.idsAndAltZComposite = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.idsAndAltZComposite);
|
|
131831
131828
|
}
|
|
131832
131829
|
}
|
|
131833
|
-
enableMultiSampling(textures, depth, depthMS) {
|
|
131830
|
+
enableMultiSampling(textures, depth, depthMS, boundColor) {
|
|
131834
131831
|
this.opaqueColor = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueColor);
|
|
131835
131832
|
this.opaqueAndCompositeColor = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAndCompositeColor);
|
|
131836
|
-
let rVal = this.initPotentialMSFbos(textures, depth, depthMS);
|
|
131833
|
+
let rVal = this.initPotentialMSFbos(textures, depth, depthMS, boundColor);
|
|
131837
131834
|
this.opaqueAll = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAll);
|
|
131838
131835
|
this.opaqueAndCompositeAll = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAndCompositeAll);
|
|
131839
|
-
rVal = this.initPotentialMSMRTFbos(textures, depth, depthMS);
|
|
131836
|
+
rVal = this.initPotentialMSMRTFbos(textures, depth, depthMS, boundColor);
|
|
131840
131837
|
return rVal;
|
|
131841
131838
|
}
|
|
131842
|
-
disableMultiSampling(textures, depth) {
|
|
131839
|
+
disableMultiSampling(textures, depth, boundColor) {
|
|
131843
131840
|
this.opaqueAll = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAll);
|
|
131844
131841
|
this.opaqueAndCompositeAll = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAndCompositeAll);
|
|
131845
|
-
if (!this.initPotentialMSMRTFbos(textures, depth, undefined))
|
|
131842
|
+
if (!this.initPotentialMSMRTFbos(textures, depth, undefined, boundColor))
|
|
131846
131843
|
return false;
|
|
131847
131844
|
this.opaqueColor = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueColor);
|
|
131848
131845
|
this.opaqueAndCompositeColor = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this.opaqueAndCompositeColor);
|
|
131849
|
-
return this.initPotentialMSFbos(textures, depth, undefined);
|
|
131846
|
+
return this.initPotentialMSFbos(textures, depth, undefined, boundColor);
|
|
131850
131847
|
}
|
|
131851
131848
|
get isDisposed() {
|
|
131852
131849
|
return undefined === this.opaqueColor && undefined === this.opaqueAndCompositeColor && undefined === this.depthAndOrder
|
|
@@ -132889,7 +132886,7 @@ class Compositor extends SceneCompositor {
|
|
|
132889
132886
|
this._depthMS = undefined;
|
|
132890
132887
|
if (this._depth !== undefined) {
|
|
132891
132888
|
return this._textures.init(this._width, this._height, this._antialiasSamples)
|
|
132892
|
-
&& this._fbos.init(this._textures, this._depth, this._depthMS)
|
|
132889
|
+
&& this._fbos.init(this._textures, this._depth, this._depthMS, (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(this.target.outputColorTexture))
|
|
132893
132890
|
&& this._geom.init(this._textures)
|
|
132894
132891
|
&& this.eyeDomeLighting.init(this._width, this._height, this._depth);
|
|
132895
132892
|
}
|
|
@@ -132904,11 +132901,11 @@ class Compositor extends SceneCompositor {
|
|
|
132904
132901
|
if (!this._textures.enableMultiSampling(this._width, this._height, this._antialiasSamples))
|
|
132905
132902
|
return false;
|
|
132906
132903
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== this._depth && undefined !== this._depthMS);
|
|
132907
|
-
return this._fbos.enableMultiSampling(this._textures, this._depth, this._depthMS);
|
|
132904
|
+
return this._fbos.enableMultiSampling(this._textures, this._depth, this._depthMS, (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(this.target.outputColorTexture));
|
|
132908
132905
|
}
|
|
132909
132906
|
disableMultiSampling() {
|
|
132910
132907
|
;(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== this._depth);
|
|
132911
|
-
if (!this._fbos.disableMultiSampling(this._textures, this._depth))
|
|
132908
|
+
if (!this._fbos.disableMultiSampling(this._textures, this._depth, (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.expectDefined)(this.target.outputColorTexture)))
|
|
132912
132909
|
return false;
|
|
132913
132910
|
// Want to disable multisampling without deleting & reallocating other stuff.
|
|
132914
132911
|
this._depthMS = (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.dispose)(this._depthMS);
|
|
@@ -137440,6 +137437,7 @@ class Target extends _render_RenderTarget__WEBPACK_IMPORTED_MODULE_7__.RenderTar
|
|
|
137440
137437
|
this._antialiasSamples = (undefined !== _System__WEBPACK_IMPORTED_MODULE_24__.System.instance.options.antialiasSamples ? _System__WEBPACK_IMPORTED_MODULE_24__.System.instance.options.antialiasSamples : 1);
|
|
137441
137438
|
}
|
|
137442
137439
|
get compositor() { return this._compositor; }
|
|
137440
|
+
get outputColorTexture() { return this._fbo?.getColor(0); }
|
|
137443
137441
|
get isReadPixelsInProgress() { return this._isReadPixelsInProgress; }
|
|
137444
137442
|
get readPixelsSelector() { return this._readPixelsSelector; }
|
|
137445
137443
|
get drawNonLocatable() { return this._drawNonLocatable; }
|
|
@@ -336999,7 +336997,7 @@ class WMS {
|
|
|
336999
336997
|
(module) {
|
|
337000
336998
|
|
|
337001
336999
|
"use strict";
|
|
337002
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.14.0-dev.
|
|
337000
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.14.0-dev.16","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s build:workers && npm run -s copy:draco","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2022 --outDir lib/esm","clean":"rimraf -g lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:draco":"cpx \\"./node_modules/@loaders.gl/draco/dist/libs/*\\" ./lib/public/scripts","docs":"betools docs --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts && npm run -s extract","extract":"betools extract --fileExt=ts --extractFrom=./src/test/example-code --recursive --out=../../generated-docs/extract","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-deprecation":"eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \\"./src/**/*.ts\\"","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run build:test-worker && vitest --run","cover":"npm run build:test-worker && vitest --run","build:test-worker":"vite build --config ./src/test/worker/vite.config.mts 1>&2","build:workers":"rimraf lib/workers/webpack && vite build --config ./src/workers/ImdlParser/vite.config.mts 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@bentley/aec-units-schema":"^1.0.3","@bentley/formats-schema":"^1.0.0","@bentley/units-schema":"^1.0.11","@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*","@itwin/object-storage-core":"^3.0.4","@itwin/eslint-plugin":"^6.0.0","@types/node":"~20.17.0","@types/sinon":"^17.0.2","@vitest/browser-playwright":"^4.1.10","@vitest/coverage-v8":"^4.1.10","cpx2":"^8.0.0","eslint":"^9.31.0","playwright":"~1.56.1","rimraf":"^6.0.1","sinon":"^17.0.2","typescript":"~5.6.2","vite":"^6.4.3","vitest":"^4.1.10","vite-plugin-static-copy":"2.2.0"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/core-i18n":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^4.4.5","@loaders.gl/draco":"^4.4.5","fuse.js":"^3.3.0","wms-capabilities":"0.6.0"}}');
|
|
337003
337001
|
|
|
337004
337002
|
/***/ }
|
|
337005
337003
|
|