Enum InitHintBool
Initialization hints are set before Init() and affect how the library behaves until termination. Hints are set with InitHint(InitHintBool, bool).
Namespace: OpenTK.Windowing.GraphicsLibraryFramework
Assembly: OpenTK.Windowing.GraphicsLibraryFramework.dll
Syntax
public enum InitHintBool
Fields
Name | Description |
---|---|
CocoaChdirResources | Used to specify whether to set the current directory to the application to the Contents/Resources subdirectory of the application's bundle, if present. Set this with InitHint(InitHintBool, bool). |
CocoaMenubar | Used to specify whether to create a basic menu bar, either from a nib or manually, when the first window is created, which is when AppKit is initialized. Set this with InitHint(InitHintBool, bool). |
JoystickHatButtons | Used to specify whether to also expose joystick hats as buttons, for compatibility with earlier versions of GLFW that did not have GetJoystickHats(int). Set this with InitHint(InitHintBool, bool). |
X11XcbVulkanSurface | Specifies whether to prefer the VK_KHR_xcb_surface extension for creating Vulkan surfaces, or whether to use the VK_KHR_xlib_surface extension. Possible values are GLFW_TRUE and GLFW_FALSE. This is ignored on other platforms. |