// // WindowHintInt.cs // // Copyright (C) 2018 OpenTK // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. // namespace OpenToolkit.GraphicsLibraryFramework { /// /// Context related attributes. /// /// public enum WindowHintInt { /// /// Indicate the client API version(major part) of the window's context. /// ContextVersionMajor = 0x00022002, /// /// Indicate the client API version(minor part) of the window's context. /// ContextVersionMinor = 0x00022003, /// /// Indicate the client API version(revision part) of the window's context. /// ContextRevision = 0x00022004, /// /// Specify the desired bit depths of the red component of the default framebuffer. /// means the application has no preference. /// RedBits = 0x00021001, /// /// Specify the desired bit depths of the green component of the default framebuffer. /// means the application has no preference. /// GreenBits = 0x00021002, /// /// Specify the desired bit depths of the blue component of the default framebuffer. /// means the application has no preference. /// BlueBits = 0x00021003, /// /// Specify the desired bit depths of the alpha component of the default framebuffer. /// means the application has no preference. /// AlphaBits = 0x00021004, /// /// Specify the desired bit depths of the depth component of the default framebuffer. /// means the application has no preference. /// DepthBits = 0x00021005, /// /// Specify the desired bit depths of the stencil component of the default framebuffer. /// means the application has no preference. /// StencilBits = 0x00021006, /// /// Specify the desired bit depths of the red component of the accumulation buffer. /// means the application has no preference. /// /// Accumulation buffers are a legacy OpenGL feature and should not be used in new code. AccumRedBits = 0x00021007, /// /// Specify the desired bit depths of the green component of the accumulation buffer. /// means the application has no preference. /// /// Accumulation buffers are a legacy OpenGL feature and should not be used in new code. AccumGreenBits = 0x00021008, /// /// Specify the desired bit depths of the blue component of the accumulation buffer. /// means the application has no preference. /// /// Accumulation buffers are a legacy OpenGL feature and should not be used in new code. AccumBlueBits = 0x00021009, /// /// Specify the desired bit depths of the alpha component of the accumulation buffer. /// means the application has no preference. /// /// Accumulation buffers are a legacy OpenGL feature and should not be used in new code. AccumAlphaBits = 0x0002100A, /// /// Specifies the desired number of auxiliary buffers. /// means the application has no preference. /// /// Auxiliary buffers are a legacy OpenGL feature and should not be used in new code. AuxBuffers = 0x0002100B, /// /// Specifies the desired number of samples to use for multisampling. Zero disables multisampling. /// means the application has no preference. /// Samples = 0x0002100D, /// /// Specifies the desired refresh rate for full screen windows. /// If set to , /// the highest available refresh rate will be used. This hint is ignored for windowed mode windows. /// RefreshRate = 0x0002100F, } }