Skip to content

KBE3D / KBCore / Cesium / FeatureDetection / supportsWebgl2

函数: supportsWebgl2()

supportsWebgl2(scene: Scene): boolean

Detects whether the current browser supports a WebGL2 rendering context for the specified scene.

参数

scene

Scene

the Cesium scene specifying the rendering context

返回

boolean

true if the browser supports a WebGL2 rendering context, false if not.

KBE3D @3.0.0 Copyright © 2024-present KBE3D