phaser - v4.0.0-rc.4
    Preparing search index...
    • Check to see how many texture units the GPU supports in a fragment shader and if the value specific in the game config is allowed.

      This value is hard-clamped to 16 for performance reasons on Android devices.

      Parameters

      • gl: WebGLRenderingContext

        The WebGLContext used to create the shaders.

      • maxTextures: number

        The Game Config maxTextures value.

      Returns number