@galacean/engine-rhi-webgl 1.6.0-beta.2 → 1.6.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.
- package/dist/main.js +7 -0
- package/dist/main.js.map +1 -1
- package/dist/module.js +7 -0
- package/dist/module.js.map +1 -1
- package/package.json +4 -4
- package/types/GLCapability.d.ts +1 -0
package/dist/main.js
CHANGED
|
@@ -521,6 +521,13 @@ var GLBuffer = /*#__PURE__*/ function() {
|
|
|
521
521
|
return this._maxAntiAliasing;
|
|
522
522
|
}
|
|
523
523
|
},
|
|
524
|
+
{
|
|
525
|
+
key: "isFragmentHighPrecision",
|
|
526
|
+
get: function get() {
|
|
527
|
+
var gl = this._rhi.gl;
|
|
528
|
+
return gl.getShaderPrecisionFormat(gl.FRAGMENT_SHADER, gl.HIGH_FLOAT).precision !== 0;
|
|
529
|
+
}
|
|
530
|
+
},
|
|
524
531
|
{
|
|
525
532
|
key: "rhi",
|
|
526
533
|
get: function get() {
|