@itwin/core-frontend 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/CHANGELOG.md +6 -1
- package/lib/cjs/internal/render/webgl/SceneCompositor.d.ts.map +1 -1
- package/lib/cjs/internal/render/webgl/SceneCompositor.js +16 -19
- package/lib/cjs/internal/render/webgl/SceneCompositor.js.map +1 -1
- package/lib/cjs/internal/render/webgl/Target.d.ts +2 -0
- package/lib/cjs/internal/render/webgl/Target.d.ts.map +1 -1
- package/lib/cjs/internal/render/webgl/Target.js +1 -0
- package/lib/cjs/internal/render/webgl/Target.js.map +1 -1
- package/lib/esm/internal/render/webgl/SceneCompositor.d.ts.map +1 -1
- package/lib/esm/internal/render/webgl/SceneCompositor.js +16 -19
- package/lib/esm/internal/render/webgl/SceneCompositor.js.map +1 -1
- package/lib/esm/internal/render/webgl/Target.d.ts +2 -0
- package/lib/esm/internal/render/webgl/Target.d.ts.map +1 -1
- package/lib/esm/internal/render/webgl/Target.js +1 -0
- package/lib/esm/internal/render/webgl/Target.js.map +1 -1
- package/package.json +20 -20
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
# Change Log - @itwin/core-frontend
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Fri, 18 Sep 2026 15:12:40 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 5.13.4
|
|
6
|
+
Fri, 18 Sep 2026 15:11:19 GMT
|
|
7
|
+
|
|
8
|
+
_Version update only_
|
|
4
9
|
|
|
5
10
|
## 5.13.3
|
|
6
11
|
Tue, 15 Sep 2026 20:25:28 GMT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SceneCompositor.d.ts","sourceRoot":"","sources":["../../../../../src/internal/render/webgl/SceneCompositor.ts"],"names":[],"mappings":"AAIA;;GAEG;AASH,OAAO,EAAE,YAAY,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EAAE,WAAW,GAAG,SAAS,GAAG,IAAI;aACjL,UAAU,CAAC,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,GAAG,KAAK,CAAC,MAAM,GAAG,SAAS;aAC9E,iBAAiB,CAAC,IAAI,EAAE,QAAQ,GAAG,UAAU,GAAG,SAAS;aACzD,cAAc,CAAC,IAAI,EAAE,QAAQ,GAAG,UAAU,GAAG,SAAS;aACtD,kBAAkB,CAAC,OAAO,EAAE,YAAY,GAAG,SAAS,GAAG,IAAI;aAC3D,aAAa,CAAC,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,qBAAqB,EAAE,aAAa,EAAE,OAAO,GAAG,IAAI;aAC9F,iBAAiB,IAAI,IAAI;IAEzC,8GAA8G;IAC9G,aAAoB,oBAAoB,IAAI,WAAW,CAAC;IAExD,aAAoB,UAAU,IAAI,aAAa,CAAC;IAChD,aAAoB,aAAa,IAAI,aAAa,CAAC;IACnD,aAAoB,gBAAgB,IAAI,MAAM,CAAC;IAE/C,IAAW,eAAe,IAAI,OAAO,CAAkC;IAEvE,SAAS,aAAa,MAAM,EAAE,MAAM;WAOtB,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,eAAe;aAIrC,iBAAiB,CAAC,KAAK,EAAE,YAAY,CAAC,UAAU,GAAG,IAAI;CACxE"}
|
|
@@ -232,8 +232,8 @@ class FrameBuffers {
|
|
|
232
232
|
idsAndZComposite;
|
|
233
233
|
idsAndAltZComposite;
|
|
234
234
|
edlDrawCol;
|
|
235
|
-
init(textures, depth, depthMS) {
|
|
236
|
-
if (!this.initPotentialMSFbos(textures, depth, depthMS))
|
|
235
|
+
init(textures, depth, depthMS, boundColor) {
|
|
236
|
+
if (!this.initPotentialMSFbos(textures, depth, depthMS, boundColor))
|
|
237
237
|
return false;
|
|
238
238
|
this.depthAndOrder = FrameBuffer_1.FrameBuffer.create([(0, core_bentley_1.expectDefined)(textures.depthAndOrder)], depth);
|
|
239
239
|
this.hilite = FrameBuffer_1.FrameBuffer.create([(0, core_bentley_1.expectDefined)(textures.hilite)], depth);
|
|
@@ -241,7 +241,7 @@ class FrameBuffers {
|
|
|
241
241
|
if (!this.depthAndOrder || !this.hilite || !this.hiliteUsingStencil)
|
|
242
242
|
return false;
|
|
243
243
|
(0, core_bentley_1.assert)(undefined === this.opaqueAll);
|
|
244
|
-
if (!this.initPotentialMSMRTFbos(textures, depth, depthMS))
|
|
244
|
+
if (!this.initPotentialMSMRTFbos(textures, depth, depthMS, boundColor))
|
|
245
245
|
return false;
|
|
246
246
|
(0, core_bentley_1.assert)(undefined !== textures.accumulation && undefined !== textures.revealage);
|
|
247
247
|
const colors = [textures.accumulation, textures.revealage];
|
|
@@ -258,9 +258,8 @@ class FrameBuffers {
|
|
|
258
258
|
&& undefined !== this.clearTranslucent
|
|
259
259
|
&& undefined !== this.pingPong;
|
|
260
260
|
}
|
|
261
|
-
initPotentialMSFbos(textures, depth, depthMS) {
|
|
262
|
-
|
|
263
|
-
(0, core_bentley_1.assert)(undefined !== boundColor && undefined !== textures.color);
|
|
261
|
+
initPotentialMSFbos(textures, depth, depthMS, boundColor) {
|
|
262
|
+
(0, core_bentley_1.assert)(undefined !== textures.color);
|
|
264
263
|
if (undefined === depthMS) {
|
|
265
264
|
this.opaqueColor = FrameBuffer_1.FrameBuffer.create([boundColor], depth);
|
|
266
265
|
this.opaqueAndCompositeColor = FrameBuffer_1.FrameBuffer.create([textures.color], depth);
|
|
@@ -273,10 +272,8 @@ class FrameBuffers {
|
|
|
273
272
|
return undefined !== this.opaqueColor
|
|
274
273
|
&& undefined !== this.opaqueAndCompositeColor;
|
|
275
274
|
}
|
|
276
|
-
initPotentialMSMRTFbos(textures, depth, depthMs) {
|
|
277
|
-
|
|
278
|
-
(0, core_bentley_1.assert)(undefined !== boundColor &&
|
|
279
|
-
undefined !== textures.color &&
|
|
275
|
+
initPotentialMSMRTFbos(textures, depth, depthMs, boundColor) {
|
|
276
|
+
(0, core_bentley_1.assert)(undefined !== textures.color &&
|
|
280
277
|
undefined !== textures.featureId &&
|
|
281
278
|
undefined !== textures.depthAndOrder &&
|
|
282
279
|
undefined !== textures.accumulation &&
|
|
@@ -390,23 +387,23 @@ class FrameBuffers {
|
|
|
390
387
|
this.idsAndAltZComposite = (0, core_bentley_1.dispose)(this.idsAndAltZComposite);
|
|
391
388
|
}
|
|
392
389
|
}
|
|
393
|
-
enableMultiSampling(textures, depth, depthMS) {
|
|
390
|
+
enableMultiSampling(textures, depth, depthMS, boundColor) {
|
|
394
391
|
this.opaqueColor = (0, core_bentley_1.dispose)(this.opaqueColor);
|
|
395
392
|
this.opaqueAndCompositeColor = (0, core_bentley_1.dispose)(this.opaqueAndCompositeColor);
|
|
396
|
-
let rVal = this.initPotentialMSFbos(textures, depth, depthMS);
|
|
393
|
+
let rVal = this.initPotentialMSFbos(textures, depth, depthMS, boundColor);
|
|
397
394
|
this.opaqueAll = (0, core_bentley_1.dispose)(this.opaqueAll);
|
|
398
395
|
this.opaqueAndCompositeAll = (0, core_bentley_1.dispose)(this.opaqueAndCompositeAll);
|
|
399
|
-
rVal = this.initPotentialMSMRTFbos(textures, depth, depthMS);
|
|
396
|
+
rVal = this.initPotentialMSMRTFbos(textures, depth, depthMS, boundColor);
|
|
400
397
|
return rVal;
|
|
401
398
|
}
|
|
402
|
-
disableMultiSampling(textures, depth) {
|
|
399
|
+
disableMultiSampling(textures, depth, boundColor) {
|
|
403
400
|
this.opaqueAll = (0, core_bentley_1.dispose)(this.opaqueAll);
|
|
404
401
|
this.opaqueAndCompositeAll = (0, core_bentley_1.dispose)(this.opaqueAndCompositeAll);
|
|
405
|
-
if (!this.initPotentialMSMRTFbos(textures, depth, undefined))
|
|
402
|
+
if (!this.initPotentialMSMRTFbos(textures, depth, undefined, boundColor))
|
|
406
403
|
return false;
|
|
407
404
|
this.opaqueColor = (0, core_bentley_1.dispose)(this.opaqueColor);
|
|
408
405
|
this.opaqueAndCompositeColor = (0, core_bentley_1.dispose)(this.opaqueAndCompositeColor);
|
|
409
|
-
return this.initPotentialMSFbos(textures, depth, undefined);
|
|
406
|
+
return this.initPotentialMSFbos(textures, depth, undefined, boundColor);
|
|
410
407
|
}
|
|
411
408
|
get isDisposed() {
|
|
412
409
|
return undefined === this.opaqueColor && undefined === this.opaqueAndCompositeColor && undefined === this.depthAndOrder
|
|
@@ -1450,7 +1447,7 @@ class Compositor extends SceneCompositor {
|
|
|
1450
1447
|
this._depthMS = undefined;
|
|
1451
1448
|
if (this._depth !== undefined) {
|
|
1452
1449
|
return this._textures.init(this._width, this._height, this._antialiasSamples)
|
|
1453
|
-
&& this._fbos.init(this._textures, this._depth, this._depthMS)
|
|
1450
|
+
&& this._fbos.init(this._textures, this._depth, this._depthMS, (0, core_bentley_1.expectDefined)(this.target.outputColorTexture))
|
|
1454
1451
|
&& this._geom.init(this._textures)
|
|
1455
1452
|
&& this.eyeDomeLighting.init(this._width, this._height, this._depth);
|
|
1456
1453
|
}
|
|
@@ -1465,11 +1462,11 @@ class Compositor extends SceneCompositor {
|
|
|
1465
1462
|
if (!this._textures.enableMultiSampling(this._width, this._height, this._antialiasSamples))
|
|
1466
1463
|
return false;
|
|
1467
1464
|
(0, core_bentley_1.assert)(undefined !== this._depth && undefined !== this._depthMS);
|
|
1468
|
-
return this._fbos.enableMultiSampling(this._textures, this._depth, this._depthMS);
|
|
1465
|
+
return this._fbos.enableMultiSampling(this._textures, this._depth, this._depthMS, (0, core_bentley_1.expectDefined)(this.target.outputColorTexture));
|
|
1469
1466
|
}
|
|
1470
1467
|
disableMultiSampling() {
|
|
1471
1468
|
(0, core_bentley_1.assert)(undefined !== this._depth);
|
|
1472
|
-
if (!this._fbos.disableMultiSampling(this._textures, this._depth))
|
|
1469
|
+
if (!this._fbos.disableMultiSampling(this._textures, this._depth, (0, core_bentley_1.expectDefined)(this.target.outputColorTexture)))
|
|
1473
1470
|
return false;
|
|
1474
1471
|
// Want to disable multisampling without deleting & reallocating other stuff.
|
|
1475
1472
|
this._depthMS = (0, core_bentley_1.dispose)(this._depthMS);
|