Function glfwSetWindowAttrib

  • This function sets the value of an attribute of the specified window.

    The supported attributes are GLFW_DECORATED, GLFW_RESIZABLE, GLFW_FLOATING, GLFW_AUTO_ICONIFY and GLFW_FOCUS_ON_SHOW.

    Some of these attributes are ignored for full screen windows. The new value will take effect if the window is later made windowed.

    Some of these attributes are ignored for windowed mode windows. The new value will take effect if the window is later made full screen.

    Parameters

    • window: GLFWwindow

      The window to set the attribute for.

    • attrib: number

      A supported window attribute.

    • value: number

      GLFW_TRUE or GLFW_FALSE.

    Returns void

Generated using TypeDoc