Enum WindowHintBool
Context related boolean attributes.
Namespace: OpenTK.Windowing.GraphicsLibraryFramework
Assembly: OpenTK.Windowing.GraphicsLibraryFramework.dll
Syntax
public enum WindowHintBool
Fields
Name | Description |
---|---|
AutoIconify | Specifies whether the full screen window will automatically iconify and restore
the previous video mode on input focus loss.
Possible values are |
CenterCursor | Specifies whether the cursor should be centered over newly created full screen windows.
Possible values are |
ContextNoError | Specifies whether errors should be generated by the context. If enabled, situations that would have generated errors instead cause undefined behavior. |
Decorated | Indicates whether the specified window has decorations such as a border,a close widget, etc. This is set on creation with the window hint with the same name. |
DoubleBuffer | Specifies whether the framebuffer should be double buffered. You nearly always want to use double buffering. This is a hard constraint. |
Floating | Indicates whether the specified window is floating, also called topmost or always-on-top. This is controlled by the window hint with the same name. |
Focused | Indicates whether the specified window has input focus. Initial input focus is controlled by the window hint with the same name |
FocusOnShow | Specifies whether the window will be given input focus when ShowWindow(Window*) is called.
Possible values are |
Hovered | Indicates whether the cursor is currently directly over the client area of the window, with no other windows between. See Cursor enter/leave events for details. |
Iconified | Indicates whether the specified window is iconified, whether by the user or with IconifyWindow(Window*). |
Maximized | Indicates whether the specified window is maximized, whether by the user or with MaximizeWindow(Window*). |
MousePassthrough | Specifies whether the window is transparent to mouse input,
letting any mouse events pass through to whatever window is behind it.
Possible values are |
OpenGLDebugContext | Specifies whether the window's context is an OpenGL debug context.
Possible values are |
OpenGLForwardCompat | Specifies whether the window's context is an OpenGL forward-compatible one.
Possible values are |
Resizable | Indicates whether the specified window is resizable by the user. This is set on creation with the window hint with the same name. |
SrgbCapable | Specifies whether the framebuffer should be sRGB capable.
If supported, a created OpenGL context will support the
|
Stereo | Specifies whether to use stereoscopic rendering. This is a hard constraint. |
TransparentFramebuffer | Specifies whether the window framebuffer will be transparent.
If enabled and supported by the system, the window framebuffer alpha channel will be used
to combine the framebuffer with the background.
This does not affect window decorations. Possible values are |
Visible | Indicates whether the specified window is visible. Window visibility can be controlled with ShowWindow(Window*) and HideWindow(Window*) and initial visibility is controlled by the window hint with the same name. |