@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/module.js
CHANGED
|
@@ -517,6 +517,13 @@ var GLBuffer = /*#__PURE__*/ function() {
|
|
|
517
517
|
return this._maxAntiAliasing;
|
|
518
518
|
}
|
|
519
519
|
},
|
|
520
|
+
{
|
|
521
|
+
key: "isFragmentHighPrecision",
|
|
522
|
+
get: function get() {
|
|
523
|
+
var gl = this._rhi.gl;
|
|
524
|
+
return gl.getShaderPrecisionFormat(gl.FRAGMENT_SHADER, gl.HIGH_FLOAT).precision !== 0;
|
|
525
|
+
}
|
|
526
|
+
},
|
|
520
527
|
{
|
|
521
528
|
key: "rhi",
|
|
522
529
|
get: function get() {
|