Function glfwSetWindowOpacity

  • This function sets the opacity of the window, including any decorations.

    The opacity (or alpha) value is a positive finite number between zero and one, where zero is fully transparent and one is fully opaque.

    The initial opacity value for newly created windows is one.

    A window created with framebuffer transparency may not use whole window transparency. The results of doing this are undefined.

    Parameters

    • window: GLFWwindow

      The window to set the opacity for.

    • opacity: bigint

      The desired opacity of the specified window.

    Returns void

Generated using TypeDoc