Luxar Viewer API Documentation - v2026.10.22
    Preparing search index...

    Function skipUnlessWebGL

    • Skip the current test in the native-WebGPU project because it drives WebGL itself (a webgl2 context, WEBGL_lose_context, the GL error queue).

      Call it at the top of a test body, or from a no-argument test.beforeEach to skip a whole file or describe block. A no-op in every other project.

      Parameters

      • reason: string

        What the test needs from WebGL, for the skip annotation

      • testInfo: TestInfo = ...

        The running test's info (defaults to test.info())

      Returns void