babylonjs-addons 9.16.1 → 9.17.0
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.
|
@@ -1533,6 +1533,14 @@ export class TextRenderer implements IDisposable {
|
|
|
1533
1533
|
* Default is false
|
|
1534
1534
|
*/
|
|
1535
1535
|
ignoreDepthBuffer: boolean;
|
|
1536
|
+
/**
|
|
1537
|
+
* Gets or sets if the text renderer should write to the depth buffer (default is false).
|
|
1538
|
+
* When enabled, transparent pixels are discarded so that separate text renderers (and other meshes)
|
|
1539
|
+
* occlude each other according to their position in the 3D scene instead of their render order.
|
|
1540
|
+
* On multisampled framebuffers, alpha-to-coverage is used to preserve anti-aliased edges.
|
|
1541
|
+
* This has no effect when ignoreDepthBuffer is true.
|
|
1542
|
+
*/
|
|
1543
|
+
writeToDepthBuffer: boolean;
|
|
1536
1544
|
private constructor();
|
|
1537
1545
|
private _resizeBuffers;
|
|
1538
1546
|
private _setShaders;
|
|
@@ -4996,6 +5004,14 @@ declare namespace ADDONS {
|
|
|
4996
5004
|
* Default is false
|
|
4997
5005
|
*/
|
|
4998
5006
|
ignoreDepthBuffer: boolean;
|
|
5007
|
+
/**
|
|
5008
|
+
* Gets or sets if the text renderer should write to the depth buffer (default is false).
|
|
5009
|
+
* When enabled, transparent pixels are discarded so that separate text renderers (and other meshes)
|
|
5010
|
+
* occlude each other according to their position in the 3D scene instead of their render order.
|
|
5011
|
+
* On multisampled framebuffers, alpha-to-coverage is used to preserve anti-aliased edges.
|
|
5012
|
+
* This has no effect when ignoreDepthBuffer is true.
|
|
5013
|
+
*/
|
|
5014
|
+
writeToDepthBuffer: boolean;
|
|
4999
5015
|
private constructor();
|
|
5000
5016
|
private _resizeBuffers;
|
|
5001
5017
|
private _setShaders;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-addons",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.17.0",
|
|
4
4
|
"main": "babylonjs.addons.min.js",
|
|
5
5
|
"types": "babylonjs.addons.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"test:escheck": "es-check es6 ./babylonjs.addons.js"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"babylonjs": "9.
|
|
19
|
+
"babylonjs": "9.17.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@dev/addons": "1.0.0",
|