Function glfwWindowHintString

  • This function sets hints for the next call to glfwCreateWindow. The hints, once set, retain their values until changed by a call to this function or glfwDefaultWindowHints, or until the library is terminated.

    Only string type hints can be set with this function. Integer value hints are set with glfwWindowHint.

    This function does not check whether the specified hint values are valid. If you set hints to invalid values this will instead be reported by the next call to glfwCreateWindow.

    Some hints are platform specific. These may be set on any platform but they will only affect their specific platform. Other platforms will ignore them. Setting these hints requires no platform specific headers or functions.

    Parameters

    • hint: number

      The window hint to set.

    • value: string

      The new value of the window hint.

    Returns void

Generated using TypeDoc