On this page

Function getWebGLSupportError

  • This function tests if WebGL2 is supported. Since it can be for a different reasons that WebGL2 is not supported but we do not have an action to take based on the reason, this function return null if there is no error (WebGL is supported), or returns a string with the error message if WebGL2 is not supported.

    Returns string | null

Was this helpful?
SDK JS
Reference
getWebGLSupportError