A set of functions to detect whether the current browser supports
various features.
方法
Detects whether the current browser supports Basis Universal textures and the web assembly modules needed to transcode them.
参数名称 | 类型 | 描述信息 |
---|---|---|
scene |
Scene |
返回值:
true if the browser supports web assembly modules and the scene supports Basis Universal textures, false if not.
Detects whether the current browser supports BigInt.
返回值:
true if the browser supports BigInt, false if not.
Detects whether the current browser supports BigInt64Array typed arrays.
返回值:
true if the browser supports BigInt64Array typed arrays, false if not.
Detects whether the current browser supports BigUint64Array typed arrays.
返回值:
true if the browser supports BigUint64Array typed arrays, false if not.
Detects whether the current browser supports ECMAScript modules in web workers.
返回值:
true if the browser supports ECMAScript modules in web workers.
参考:
Detects whether the current browser supports the full screen standard.
返回值:
true if the browser supports the full screen standard, false if not.
Detects whether the current browser supports typed arrays.
返回值:
true if the browser supports typed arrays, false if not.
Detects whether the current browser supports Web Assembly.
返回值:
true if the browsers supports Web Assembly, false if not.
Detects whether the current browser supports a WebGL2 rendering context for the specified scene.
参数名称 | 类型 | 描述信息 |
---|---|---|
scene |
Scene | the Cesium scene specifying the rendering context |
返回值:
true if the browser supports a WebGL2 rendering context, false if not.
Detects whether the current browser supports Web Workers.
返回值:
true if the browsers supports Web Workers, false if not.