Show / Hide Table of Contents

Enum WindowHintInt

Context related attributes.

Namespace: OpenTK.Windowing.GraphicsLibraryFramework
Assembly: OpenTK.Windowing.GraphicsLibraryFramework.dll
Syntax
public enum WindowHintInt

Fields

Name Description
AccumAlphaBits

Specify the desired bit depths of the alpha component of the accumulation buffer. DontCare means the application has no preference.

AccumBlueBits

Specify the desired bit depths of the blue component of the accumulation buffer. DontCare means the application has no preference.

AccumGreenBits

Specify the desired bit depths of the green component of the accumulation buffer. DontCare means the application has no preference.

AccumRedBits

Specify the desired bit depths of the red component of the accumulation buffer. DontCare means the application has no preference.

AlphaBits

Specify the desired bit depths of the alpha component of the default framebuffer. DontCare means the application has no preference.

AuxBuffers

Specifies the desired number of auxiliary buffers. DontCare means the application has no preference.

BlueBits

Specify the desired bit depths of the blue component of the default framebuffer. DontCare means the application has no preference.

ContextRevision

Indicate the client API version(revision part) of the window's context.

ContextVersionMajor

Indicate the client API version(major part) of the window's context.

ContextVersionMinor

Indicate the client API version(minor part) of the window's context.

DepthBits

Specify the desired bit depths of the depth component of the default framebuffer. DontCare means the application has no preference.

GreenBits

Specify the desired bit depths of the green component of the default framebuffer. DontCare means the application has no preference.

PositionX

Specifies the desired initial x position of the window. The window manager may modify or ignore these coordinates. If either or both of these hints are set to AnyPosition then the window manager will position the window where it thinks the user will prefer it. Possible values are any valid screen coordinates and AnyPosition.

PositionY

Specifies the desired initial y position of the window. The window manager may modify or ignore these coordinates. If either or both of these hints are set to AnyPosition then the window manager will position the window where it thinks the user will prefer it. Possible values are any valid screen coordinates and AnyPosition.

RedBits

Specify the desired bit depths of the red component of the default framebuffer. DontCare means the application has no preference.

RefreshRate

Specifies the desired refresh rate for full screen windows. If set to DontCare, the highest available refresh rate will be used. This hint is ignored for windowed mode windows.

Samples

Specifies the desired number of samples to use for multisampling. Zero disables multisampling. DontCare means the application has no preference.

StencilBits

Specify the desired bit depths of the stencil component of the default framebuffer. DontCare means the application has no preference.

See Also
WindowHint(WindowHintInt, int)
In This Article
Back to top Generated by DocFX