Added support for wglCreateContextAttribsARB.

This commit is contained in:
the_fiddler 2009-02-28 19:51:58 +00:00
parent dd13f98e83
commit cee4a44e76
3 changed files with 548 additions and 506 deletions

View file

@ -522,6 +522,37 @@ namespace OpenTK.Platform.Windows
public static partial class Arb public static partial class Arb
{ {
[CLSCompliant(false)]
unsafe public static
IntPtr CreateContextAttribs(IntPtr hDC, IntPtr hShareContext, int* attribList)
{
return Delegates.wglCreateContextAttribsARB((IntPtr)hDC, (IntPtr)hShareContext, (int*)attribList);
}
public static
IntPtr CreateContextAttribs(IntPtr hDC, IntPtr hShareContext, ref int attribList)
{
unsafe
{
fixed (int* attribList_ptr = &attribList)
{
return Delegates.wglCreateContextAttribsARB((IntPtr)hDC, (IntPtr)hShareContext, (int*)attribList_ptr);
}
}
}
public static
IntPtr CreateContextAttribs(IntPtr hDC, IntPtr hShareContext, int[] attribList)
{
unsafe
{
fixed (int* attribList_ptr = attribList)
{
return Delegates.wglCreateContextAttribsARB((IntPtr)hDC, (IntPtr)hShareContext, (int*)attribList_ptr);
}
}
}
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
public static public static
IntPtr CreateBufferRegion(IntPtr hDC, int iLayerPlane, UInt32 uType) IntPtr CreateBufferRegion(IntPtr hDC, int iLayerPlane, UInt32 uType)

View file

@ -83,6 +83,9 @@ namespace OpenTK.Platform.Windows
internal unsafe delegate Boolean UseFontOutlinesW(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, GlyphMetricsFloat* glyphMetrics); internal unsafe delegate Boolean UseFontOutlinesW(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, GlyphMetricsFloat* glyphMetrics);
internal unsafe static UseFontOutlinesW wglUseFontOutlinesW; internal unsafe static UseFontOutlinesW wglUseFontOutlinesW;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate IntPtr CreateContextAttribsARB(IntPtr hDC, IntPtr hShareContext, int* attribList);
internal unsafe static CreateContextAttribsARB wglCreateContextAttribsARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate IntPtr CreateBufferRegionARB(IntPtr hDC, int iLayerPlane, UInt32 uType); internal delegate IntPtr CreateBufferRegionARB(IntPtr hDC, int iLayerPlane, UInt32 uType);
internal static CreateBufferRegionARB wglCreateBufferRegionARB; internal static CreateBufferRegionARB wglCreateBufferRegionARB;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]

View file

@ -1,510 +1,518 @@
namespace OpenTK.Platform.Windows namespace OpenTK.Platform.Windows
{ {
namespace Enums #pragma warning disable 3019
#pragma warning disable 1591
public enum ArbCreateContext
{ {
#pragma warning disable 3019 DebugBit = 0x0001,
#pragma warning disable 1591 ForwardCompatibleBit = 0x0002,
public enum WGL_ARB_buffer_region MajorVersion = 0x2091,
{ MinorVersion = 0x2092,
BackColorBufferBitArb = ((int)0x00000002), LayerPlane = 0x2093,
StencilBufferBitArb = ((int)0x00000008), Flags = 0x2094,
FrontColorBufferBitArb = ((int)0x00000001), ErrorInvalidVersion = 0x2095,
DepthBufferBitArb = ((int)0x00000004), }
}
public enum WGL_EXT_pixel_format public enum WGL_ARB_buffer_region
{ {
SupportGdiExt = ((int)0x200f), BackColorBufferBitArb = ((int)0x00000002),
TypeColorindexExt = ((int)0x202c), StencilBufferBitArb = ((int)0x00000008),
AccelerationExt = ((int)0x2003), FrontColorBufferBitArb = ((int)0x00000001),
GreenBitsExt = ((int)0x2017), DepthBufferBitArb = ((int)0x00000004),
DrawToWindowExt = ((int)0x2001), }
SwapCopyExt = ((int)0x2029),
DrawToBitmapExt = ((int)0x2002),
TransparentExt = ((int)0x200a),
SwapMethodExt = ((int)0x2007),
SwapLayerBuffersExt = ((int)0x2006),
PixelTypeExt = ((int)0x2013),
AlphaShiftExt = ((int)0x201c),
AccumRedBitsExt = ((int)0x201e),
FullAccelerationExt = ((int)0x2027),
SupportOpenglExt = ((int)0x2010),
BlueShiftExt = ((int)0x201a),
RedBitsExt = ((int)0x2015),
NoAccelerationExt = ((int)0x2025),
StereoExt = ((int)0x2012),
GreenShiftExt = ((int)0x2018),
BlueBitsExt = ((int)0x2019),
AlphaBitsExt = ((int)0x201b),
RedShiftExt = ((int)0x2016),
DepthBitsExt = ((int)0x2022),
TypeRgbaExt = ((int)0x202b),
GenericAccelerationExt = ((int)0x2026),
AccumAlphaBitsExt = ((int)0x2021),
AccumGreenBitsExt = ((int)0x201f),
TransparentValueExt = ((int)0x200b),
AccumBlueBitsExt = ((int)0x2020),
ShareDepthExt = ((int)0x200c),
ShareAccumExt = ((int)0x200e),
SwapExchangeExt = ((int)0x2028),
AccumBitsExt = ((int)0x201d),
NumberUnderlaysExt = ((int)0x2009),
StencilBitsExt = ((int)0x2023),
DoubleBufferExt = ((int)0x2011),
NeedPaletteExt = ((int)0x2004),
ColorBitsExt = ((int)0x2014),
SwapUndefinedExt = ((int)0x202a),
NeedSystemPaletteExt = ((int)0x2005),
NumberOverlaysExt = ((int)0x2008),
AuxBuffersExt = ((int)0x2024),
NumberPixelFormatsExt = ((int)0x2000),
ShareStencilExt = ((int)0x200d),
}
public enum WGL_ARB_pixel_format public enum WGL_EXT_pixel_format
{ {
ShareStencilArb = ((int)0x200d), SupportGdiExt = ((int)0x200f),
AccumBitsArb = ((int)0x201d), TypeColorindexExt = ((int)0x202c),
NumberUnderlaysArb = ((int)0x2009), AccelerationExt = ((int)0x2003),
StereoArb = ((int)0x2012), GreenBitsExt = ((int)0x2017),
MaxPbufferHeightArb = ((int)0x2030), DrawToWindowExt = ((int)0x2001),
TypeRgbaArb = ((int)0x202b), SwapCopyExt = ((int)0x2029),
SupportGdiArb = ((int)0x200f), DrawToBitmapExt = ((int)0x2002),
NeedSystemPaletteArb = ((int)0x2005), TransparentExt = ((int)0x200a),
AlphaBitsArb = ((int)0x201b), SwapMethodExt = ((int)0x2007),
ShareDepthArb = ((int)0x200c), SwapLayerBuffersExt = ((int)0x2006),
SupportOpenglArb = ((int)0x2010), PixelTypeExt = ((int)0x2013),
ColorBitsArb = ((int)0x2014), AlphaShiftExt = ((int)0x201c),
AccumRedBitsArb = ((int)0x201e), AccumRedBitsExt = ((int)0x201e),
MaxPbufferWidthArb = ((int)0x202f), FullAccelerationExt = ((int)0x2027),
NumberOverlaysArb = ((int)0x2008), SupportOpenglExt = ((int)0x2010),
MaxPbufferPixelsArb = ((int)0x202e), BlueShiftExt = ((int)0x201a),
NeedPaletteArb = ((int)0x2004), RedBitsExt = ((int)0x2015),
RedShiftArb = ((int)0x2016), NoAccelerationExt = ((int)0x2025),
AccelerationArb = ((int)0x2003), StereoExt = ((int)0x2012),
GreenBitsArb = ((int)0x2017), GreenShiftExt = ((int)0x2018),
TransparentGreenValueArb = ((int)0x2038), BlueBitsExt = ((int)0x2019),
PixelTypeArb = ((int)0x2013), AlphaBitsExt = ((int)0x201b),
AuxBuffersArb = ((int)0x2024), RedShiftExt = ((int)0x2016),
DrawToWindowArb = ((int)0x2001), DepthBitsExt = ((int)0x2022),
RedBitsArb = ((int)0x2015), TypeRgbaExt = ((int)0x202b),
NumberPixelFormatsArb = ((int)0x2000), GenericAccelerationExt = ((int)0x2026),
GenericAccelerationArb = ((int)0x2026), AccumAlphaBitsExt = ((int)0x2021),
BlueBitsArb = ((int)0x2019), AccumGreenBitsExt = ((int)0x201f),
PbufferLargestArb = ((int)0x2033), TransparentValueExt = ((int)0x200b),
AccumAlphaBitsArb = ((int)0x2021), AccumBlueBitsExt = ((int)0x2020),
TransparentArb = ((int)0x200a), ShareDepthExt = ((int)0x200c),
FullAccelerationArb = ((int)0x2027), ShareAccumExt = ((int)0x200e),
ShareAccumArb = ((int)0x200e), SwapExchangeExt = ((int)0x2028),
SwapExchangeArb = ((int)0x2028), AccumBitsExt = ((int)0x201d),
SwapUndefinedArb = ((int)0x202a), NumberUnderlaysExt = ((int)0x2009),
TransparentAlphaValueArb = ((int)0x203a), StencilBitsExt = ((int)0x2023),
PbufferHeightArb = ((int)0x2035), DoubleBufferExt = ((int)0x2011),
TransparentBlueValueArb = ((int)0x2039), NeedPaletteExt = ((int)0x2004),
SwapMethodArb = ((int)0x2007), ColorBitsExt = ((int)0x2014),
StencilBitsArb = ((int)0x2023), SwapUndefinedExt = ((int)0x202a),
DepthBitsArb = ((int)0x2022), NeedSystemPaletteExt = ((int)0x2005),
GreenShiftArb = ((int)0x2018), NumberOverlaysExt = ((int)0x2008),
TransparentRedValueArb = ((int)0x2037), AuxBuffersExt = ((int)0x2024),
DoubleBufferArb = ((int)0x2011), NumberPixelFormatsExt = ((int)0x2000),
NoAccelerationArb = ((int)0x2025), ShareStencilExt = ((int)0x200d),
TypeColorindexArb = ((int)0x202c), }
SwapLayerBuffersArb = ((int)0x2006),
AccumBlueBitsArb = ((int)0x2020),
DrawToPbufferArb = ((int)0x202d),
AccumGreenBitsArb = ((int)0x201f),
PbufferWidthArb = ((int)0x2034),
TransparentIndexValueArb = ((int)0x203b),
AlphaShiftArb = ((int)0x201c),
DrawToBitmapArb = ((int)0x2002),
BlueShiftArb = ((int)0x201a),
SwapCopyArb = ((int)0x2029),
}
public enum WGL_EXT_pbuffer public enum WGL_ARB_pixel_format
{ {
DrawToPbufferExt = ((int)0x202d), ShareStencilArb = ((int)0x200d),
PbufferLargestExt = ((int)0x2033), AccumBitsArb = ((int)0x201d),
OptimalPbufferWidthExt = ((int)0x2031), NumberUnderlaysArb = ((int)0x2009),
MaxPbufferPixelsExt = ((int)0x202e), StereoArb = ((int)0x2012),
MaxPbufferHeightExt = ((int)0x2030), MaxPbufferHeightArb = ((int)0x2030),
PbufferWidthExt = ((int)0x2034), TypeRgbaArb = ((int)0x202b),
MaxPbufferWidthExt = ((int)0x202f), SupportGdiArb = ((int)0x200f),
OptimalPbufferHeightExt = ((int)0x2032), NeedSystemPaletteArb = ((int)0x2005),
PbufferHeightExt = ((int)0x2035), AlphaBitsArb = ((int)0x201b),
} ShareDepthArb = ((int)0x200c),
SupportOpenglArb = ((int)0x2010),
ColorBitsArb = ((int)0x2014),
AccumRedBitsArb = ((int)0x201e),
MaxPbufferWidthArb = ((int)0x202f),
NumberOverlaysArb = ((int)0x2008),
MaxPbufferPixelsArb = ((int)0x202e),
NeedPaletteArb = ((int)0x2004),
RedShiftArb = ((int)0x2016),
AccelerationArb = ((int)0x2003),
GreenBitsArb = ((int)0x2017),
TransparentGreenValueArb = ((int)0x2038),
PixelTypeArb = ((int)0x2013),
AuxBuffersArb = ((int)0x2024),
DrawToWindowArb = ((int)0x2001),
RedBitsArb = ((int)0x2015),
NumberPixelFormatsArb = ((int)0x2000),
GenericAccelerationArb = ((int)0x2026),
BlueBitsArb = ((int)0x2019),
PbufferLargestArb = ((int)0x2033),
AccumAlphaBitsArb = ((int)0x2021),
TransparentArb = ((int)0x200a),
FullAccelerationArb = ((int)0x2027),
ShareAccumArb = ((int)0x200e),
SwapExchangeArb = ((int)0x2028),
SwapUndefinedArb = ((int)0x202a),
TransparentAlphaValueArb = ((int)0x203a),
PbufferHeightArb = ((int)0x2035),
TransparentBlueValueArb = ((int)0x2039),
SwapMethodArb = ((int)0x2007),
StencilBitsArb = ((int)0x2023),
DepthBitsArb = ((int)0x2022),
GreenShiftArb = ((int)0x2018),
TransparentRedValueArb = ((int)0x2037),
DoubleBufferArb = ((int)0x2011),
NoAccelerationArb = ((int)0x2025),
TypeColorindexArb = ((int)0x202c),
SwapLayerBuffersArb = ((int)0x2006),
AccumBlueBitsArb = ((int)0x2020),
DrawToPbufferArb = ((int)0x202d),
AccumGreenBitsArb = ((int)0x201f),
PbufferWidthArb = ((int)0x2034),
TransparentIndexValueArb = ((int)0x203b),
AlphaShiftArb = ((int)0x201c),
DrawToBitmapArb = ((int)0x2002),
BlueShiftArb = ((int)0x201a),
SwapCopyArb = ((int)0x2029),
}
public enum WGL_ARB_pbuffer public enum WGL_EXT_pbuffer
{ {
PbufferWidthArb = ((int)0x2034), DrawToPbufferExt = ((int)0x202d),
TransparentGreenValueArb = ((int)0x2038), PbufferLargestExt = ((int)0x2033),
PbufferHeightArb = ((int)0x2035), OptimalPbufferWidthExt = ((int)0x2031),
PbufferLostArb = ((int)0x2036), MaxPbufferPixelsExt = ((int)0x202e),
DrawToPbufferArb = ((int)0x202d), MaxPbufferHeightExt = ((int)0x2030),
TransparentIndexValueArb = ((int)0x203b), PbufferWidthExt = ((int)0x2034),
TransparentRedValueArb = ((int)0x2037), MaxPbufferWidthExt = ((int)0x202f),
MaxPbufferPixelsArb = ((int)0x202e), OptimalPbufferHeightExt = ((int)0x2032),
TransparentAlphaValueArb = ((int)0x203a), PbufferHeightExt = ((int)0x2035),
MaxPbufferWidthArb = ((int)0x202f), }
MaxPbufferHeightArb = ((int)0x2030),
TransparentBlueValueArb = ((int)0x2039),
PbufferLargestArb = ((int)0x2033),
}
public enum WGL_EXT_depth_float public enum WGL_ARB_pbuffer
{ {
DepthFloatExt = ((int)0x2040), PbufferWidthArb = ((int)0x2034),
} TransparentGreenValueArb = ((int)0x2038),
PbufferHeightArb = ((int)0x2035),
PbufferLostArb = ((int)0x2036),
DrawToPbufferArb = ((int)0x202d),
TransparentIndexValueArb = ((int)0x203b),
TransparentRedValueArb = ((int)0x2037),
MaxPbufferPixelsArb = ((int)0x202e),
TransparentAlphaValueArb = ((int)0x203a),
MaxPbufferWidthArb = ((int)0x202f),
MaxPbufferHeightArb = ((int)0x2030),
TransparentBlueValueArb = ((int)0x2039),
PbufferLargestArb = ((int)0x2033),
}
public enum WGL_EXT_multisample public enum WGL_EXT_depth_float
{ {
SampleBuffersExt = ((int)0x2041), DepthFloatExt = ((int)0x2040),
SamplesExt = ((int)0x2042), }
}
public enum WGL_ARB_multisample public enum WGL_EXT_multisample
{ {
SampleBuffersArb = ((int)0x2041), SampleBuffersExt = ((int)0x2041),
SamplesArb = ((int)0x2042), SamplesExt = ((int)0x2042),
} }
public enum WGL_EXT_make_current_read public enum WGL_ARB_multisample
{ {
ErrorInvalidPixelTypeExt = ((int)0x2043), SampleBuffersArb = ((int)0x2041),
} SamplesArb = ((int)0x2042),
}
public enum WGL_ARB_make_current_read public enum WGL_EXT_make_current_read
{ {
ErrorInvalidPixelTypeArb = ((int)0x2043), ErrorInvalidPixelTypeExt = ((int)0x2043),
ErrorIncompatibleDeviceContextsArb = ((int)0x2054), }
}
public enum WGL_I3D_genlock public enum WGL_ARB_make_current_read
{ {
GenlockSourceMultiviewI3d = ((int)0x2044), ErrorInvalidPixelTypeArb = ((int)0x2043),
GenlockSourceEdgeBothI3d = ((int)0x204c), ErrorIncompatibleDeviceContextsArb = ((int)0x2054),
GenlockSourceEdgeRisingI3d = ((int)0x204b), }
GenlockSourceDigitalSyncI3d = ((int)0x2048),
GenlockSourceExtenalFieldI3d = ((int)0x2046),
GenlockSourceDigitalFieldI3d = ((int)0x2049),
GenlockSourceExtenalSyncI3d = ((int)0x2045),
GenlockSourceEdgeFallingI3d = ((int)0x204a),
GenlockSourceExtenalTtlI3d = ((int)0x2047),
}
public enum WGL_I3D_gamma public enum WGL_I3D_genlock
{ {
GammaExcludeDesktopI3d = ((int)0x204f), GenlockSourceMultiviewI3d = ((int)0x2044),
GammaTableSizeI3d = ((int)0x204e), GenlockSourceEdgeBothI3d = ((int)0x204c),
} GenlockSourceEdgeRisingI3d = ((int)0x204b),
GenlockSourceDigitalSyncI3d = ((int)0x2048),
GenlockSourceExtenalFieldI3d = ((int)0x2046),
GenlockSourceDigitalFieldI3d = ((int)0x2049),
GenlockSourceExtenalSyncI3d = ((int)0x2045),
GenlockSourceEdgeFallingI3d = ((int)0x204a),
GenlockSourceExtenalTtlI3d = ((int)0x2047),
}
public enum WGL_I3D_digital_video_control public enum WGL_I3D_gamma
{ {
DigitalVideoCursorAlphaFramebufferI3d = ((int)0x2050), GammaExcludeDesktopI3d = ((int)0x204f),
DigitalVideoGammaCorrectedI3d = ((int)0x2053), GammaTableSizeI3d = ((int)0x204e),
DigitalVideoCursorAlphaValueI3d = ((int)0x2051), }
DigitalVideoCursorIncludedI3d = ((int)0x2052),
}
public enum WGL_3DFX_multisample public enum WGL_I3D_digital_video_control
{ {
SampleBuffers3dfx = ((int)0x2060), DigitalVideoCursorAlphaFramebufferI3d = ((int)0x2050),
Samples3dfx = ((int)0x2061), DigitalVideoGammaCorrectedI3d = ((int)0x2053),
} DigitalVideoCursorAlphaValueI3d = ((int)0x2051),
DigitalVideoCursorIncludedI3d = ((int)0x2052),
}
public enum WGL_ARB_render_texture public enum WGL_3DFX_multisample
{ {
TextureCubeMapPositiveXArb = ((int)0x207d), SampleBuffers3dfx = ((int)0x2060),
TextureCubeMapPositiveYArb = ((int)0x207f), Samples3dfx = ((int)0x2061),
Aux0Arb = ((int)0x2087), }
Texture1dArb = ((int)0x2079),
Aux6Arb = ((int)0x208d),
TextureCubeMapArb = ((int)0x2078),
TextureFormatArb = ((int)0x2072),
BackRightArb = ((int)0x2086),
BindToTextureRgbArb = ((int)0x2070),
MipmapLevelArb = ((int)0x207b),
CubeMapFaceArb = ((int)0x207c),
TextureCubeMapNegativeXArb = ((int)0x207e),
Aux7Arb = ((int)0x208e),
Aux8Arb = ((int)0x208f),
MipmapTextureArb = ((int)0x2074),
NoTextureArb = ((int)0x2077),
Aux3Arb = ((int)0x208a),
Texture2DArb = ((int)0x207a),
Aux1Arb = ((int)0x2088),
TextureCubeMapPositiveZArb = ((int)0x2081),
BindToTextureRgbaArb = ((int)0x2071),
TextureCubeMapNegativeYArb = ((int)0x2080),
TextureRgbaArb = ((int)0x2076),
FrontRightArb = ((int)0x2084),
Aux5Arb = ((int)0x208c),
Aux4Arb = ((int)0x208b),
TextureTargetArb = ((int)0x2073),
FrontLeftArb = ((int)0x2083),
Aux9Arb = ((int)0x2090),
TextureRgbArb = ((int)0x2075),
BackLeftArb = ((int)0x2085),
TextureCubeMapNegativeZArb = ((int)0x2082),
Aux2Arb = ((int)0x2089),
}
public enum WGL_NV_render_texture_rectangle public enum WGL_ARB_render_texture
{ {
BindToTextureRectangleRgbNv = ((int)0x20a0), TextureCubeMapPositiveXArb = ((int)0x207d),
BindToTextureRectangleRgbaNv = ((int)0x20a1), TextureCubeMapPositiveYArb = ((int)0x207f),
TextureRectangleNv = ((int)0x20a2), Aux0Arb = ((int)0x2087),
} Texture1dArb = ((int)0x2079),
Aux6Arb = ((int)0x208d),
TextureCubeMapArb = ((int)0x2078),
TextureFormatArb = ((int)0x2072),
BackRightArb = ((int)0x2086),
BindToTextureRgbArb = ((int)0x2070),
MipmapLevelArb = ((int)0x207b),
CubeMapFaceArb = ((int)0x207c),
TextureCubeMapNegativeXArb = ((int)0x207e),
Aux7Arb = ((int)0x208e),
Aux8Arb = ((int)0x208f),
MipmapTextureArb = ((int)0x2074),
NoTextureArb = ((int)0x2077),
Aux3Arb = ((int)0x208a),
Texture2DArb = ((int)0x207a),
Aux1Arb = ((int)0x2088),
TextureCubeMapPositiveZArb = ((int)0x2081),
BindToTextureRgbaArb = ((int)0x2071),
TextureCubeMapNegativeYArb = ((int)0x2080),
TextureRgbaArb = ((int)0x2076),
FrontRightArb = ((int)0x2084),
Aux5Arb = ((int)0x208c),
Aux4Arb = ((int)0x208b),
TextureTargetArb = ((int)0x2073),
FrontLeftArb = ((int)0x2083),
Aux9Arb = ((int)0x2090),
TextureRgbArb = ((int)0x2075),
BackLeftArb = ((int)0x2085),
TextureCubeMapNegativeZArb = ((int)0x2082),
Aux2Arb = ((int)0x2089),
}
public enum WGL_NV_render_depth_texture public enum WGL_NV_render_texture_rectangle
{ {
DepthTextureFormatNv = ((int)0x20a5), BindToTextureRectangleRgbNv = ((int)0x20a0),
TextureDepthComponentNv = ((int)0x20a6), BindToTextureRectangleRgbaNv = ((int)0x20a1),
BindToTextureDepthNv = ((int)0x20a3), TextureRectangleNv = ((int)0x20a2),
DepthComponentNv = ((int)0x20a7), }
BindToTextureRectangleDepthNv = ((int)0x20a4),
}
public enum WGL_NV_float_buffer public enum WGL_NV_render_depth_texture
{ {
BindToTextureRectangleFloatRNv = ((int)0x20b1), DepthTextureFormatNv = ((int)0x20a5),
TextureFloatRNv = ((int)0x20b5), TextureDepthComponentNv = ((int)0x20a6),
TextureFloatRgbNv = ((int)0x20b7), BindToTextureDepthNv = ((int)0x20a3),
TextureFloatRgNv = ((int)0x20b6), DepthComponentNv = ((int)0x20a7),
TextureFloatRgbaNv = ((int)0x20b8), BindToTextureRectangleDepthNv = ((int)0x20a4),
BindToTextureRectangleFloatRgbaNv = ((int)0x20b4), }
FloatComponentsNv = ((int)0x20b0),
BindToTextureRectangleFloatRgNv = ((int)0x20b2),
BindToTextureRectangleFloatRgbNv = ((int)0x20b3),
}
public enum WGL_ARB_pixel_format_float public enum WGL_NV_float_buffer
{ {
TypeRgbaFloatArb = ((int)0x21a0), BindToTextureRectangleFloatRNv = ((int)0x20b1),
} TextureFloatRNv = ((int)0x20b5),
TextureFloatRgbNv = ((int)0x20b7),
TextureFloatRgNv = ((int)0x20b6),
TextureFloatRgbaNv = ((int)0x20b8),
BindToTextureRectangleFloatRgbaNv = ((int)0x20b4),
FloatComponentsNv = ((int)0x20b0),
BindToTextureRectangleFloatRgNv = ((int)0x20b2),
BindToTextureRectangleFloatRgbNv = ((int)0x20b3),
}
public enum WGL_ATI_pixel_format_float public enum WGL_ARB_pixel_format_float
{ {
TypeRgbaFloatAti = ((int)0x21a0), TypeRgbaFloatArb = ((int)0x21a0),
} }
public enum WGL_font_type public enum WGL_ATI_pixel_format_float
{ {
FontLines = ((int)0), TypeRgbaFloatAti = ((int)0x21a0),
} }
public enum All public enum WGL_font_type
{ {
SwapCopyExt = ((int)0x2029), FontLines = ((int)0),
BackColorBufferBitArb = ((int)0x00000002), }
FullAccelerationArb = ((int)0x2027),
AccelerationExt = ((int)0x2003),
GenlockSourceMultiviewI3d = ((int)0x2044),
Aux3Arb = ((int)0x208a),
TextureCubeMapNegativeYArb = ((int)0x2080),
DoubleBufferArb = ((int)0x2011),
SwapUndefinedExt = ((int)0x202a),
SupportGdiArb = ((int)0x200f),
Aux2Arb = ((int)0x2089),
TextureCubeMapArb = ((int)0x2078),
SwapLayerBuffersExt = ((int)0x2006),
SwapCopyArb = ((int)0x2029),
ErrorIncompatibleDeviceContextsArb = ((int)0x2054),
TypeColorindexArb = ((int)0x202c),
DigitalVideoCursorIncludedI3d = ((int)0x2052),
NeedPaletteExt = ((int)0x2004),
RedBitsArb = ((int)0x2015),
TextureCubeMapNegativeXArb = ((int)0x207e),
SampleBuffersExt = ((int)0x2041),
GenericAccelerationExt = ((int)0x2026),
BindToTextureRectangleRgbaNv = ((int)0x20a1),
NoTextureArb = ((int)0x2077),
FrontColorBufferBitArb = ((int)0x00000001),
TransparentValueExt = ((int)0x200b),
AlphaBitsArb = ((int)0x201b),
RedBitsExt = ((int)0x2015),
PbufferHeightArb = ((int)0x2035),
BindToTextureRectangleFloatRgbaNv = ((int)0x20b4),
SampleBuffersArb = ((int)0x2041),
MipmapLevelArb = ((int)0x207b),
NeedSystemPaletteExt = ((int)0x2005),
Aux4Arb = ((int)0x208b),
TextureFormatArb = ((int)0x2072),
AccumBitsExt = ((int)0x201d),
AccumBlueBitsExt = ((int)0x2020),
BackLeftArb = ((int)0x2085),
AlphaBitsExt = ((int)0x201b),
StencilBitsArb = ((int)0x2023),
DrawToPbufferExt = ((int)0x202d),
FullAccelerationExt = ((int)0x2027),
ColorBitsExt = ((int)0x2014),
BindToTextureRectangleFloatRgNv = ((int)0x20b2),
DepthBufferBitArb = ((int)0x00000004),
BindToTextureRgbaArb = ((int)0x2071),
AccumGreenBitsArb = ((int)0x201f),
AccumBitsArb = ((int)0x201d),
TypeRgbaFloatArb = ((int)0x21a0),
NeedPaletteArb = ((int)0x2004),
ShareAccumArb = ((int)0x200e),
TransparentArb = ((int)0x200a),
ShareStencilArb = ((int)0x200d),
Aux5Arb = ((int)0x208c),
ImageBufferLockI3d = ((int)0x00000002),
TextureFloatRNv = ((int)0x20b5),
DepthComponentNv = ((int)0x20a7),
FloatComponentsNv = ((int)0x20b0),
TransparentGreenValueArb = ((int)0x2038),
GenlockSourceExtenalTtlI3d = ((int)0x2047),
NeedSystemPaletteArb = ((int)0x2005),
BlueBitsExt = ((int)0x2019),
GreenShiftExt = ((int)0x2018),
OptimalPbufferWidthExt = ((int)0x2031),
AuxBuffersExt = ((int)0x2024),
TypeRgbaFloatAti = ((int)0x21a0),
FrontRightArb = ((int)0x2084),
DepthBitsExt = ((int)0x2022),
GammaTableSizeI3d = ((int)0x204e),
AccumAlphaBitsArb = ((int)0x2021),
Aux0Arb = ((int)0x2087),
TransparentIndexValueArb = ((int)0x203b),
AccumGreenBitsExt = ((int)0x201f),
TransparentBlueValueArb = ((int)0x2039),
NoAccelerationArb = ((int)0x2025),
MaxPbufferPixelsArb = ((int)0x202e),
GammaExcludeDesktopI3d = ((int)0x204f),
MaxPbufferPixelsExt = ((int)0x202e),
AccumBlueBitsArb = ((int)0x2020),
SwapUndefinedArb = ((int)0x202a),
ShareDepthExt = ((int)0x200c),
GenlockSourceEdgeBothI3d = ((int)0x204c),
Samples3dfx = ((int)0x2061),
DoubleBufferExt = ((int)0x2011),
BindToTextureRectangleFloatRgbNv = ((int)0x20b3),
SwapMethodExt = ((int)0x2007),
ErrorInvalidPixelTypeArb = ((int)0x2043),
GreenShiftArb = ((int)0x2018),
TextureFloatRgbaNv = ((int)0x20b8),
Aux1Arb = ((int)0x2088),
GreenBitsArb = ((int)0x2017),
NumberPixelFormatsExt = ((int)0x2000),
NumberOverlaysExt = ((int)0x2008),
PixelTypeArb = ((int)0x2013),
SwapLayerBuffersArb = ((int)0x2006),
DrawToBitmapArb = ((int)0x2002),
NumberPixelFormatsArb = ((int)0x2000),
PbufferLostArb = ((int)0x2036),
Aux9Arb = ((int)0x2090),
TextureCubeMapPositiveZArb = ((int)0x2081),
MaxPbufferHeightArb = ((int)0x2030),
TransparentExt = ((int)0x200a),
PbufferLargestArb = ((int)0x2033),
SwapMethodArb = ((int)0x2007),
TextureRgbaArb = ((int)0x2076),
PbufferWidthExt = ((int)0x2034),
OptimalPbufferHeightExt = ((int)0x2032),
StencilBitsExt = ((int)0x2023),
ShareStencilExt = ((int)0x200d),
DepthFloatExt = ((int)0x2040),
BindToTextureRgbArb = ((int)0x2070),
BindToTextureRectangleRgbNv = ((int)0x20a0),
GenlockSourceDigitalSyncI3d = ((int)0x2048),
AccumAlphaBitsExt = ((int)0x2021),
GenlockSourceExtenalSyncI3d = ((int)0x2045),
RedShiftExt = ((int)0x2016),
GenlockSourceDigitalFieldI3d = ((int)0x2049),
FrontLeftArb = ((int)0x2083),
BlueShiftArb = ((int)0x201a),
PbufferWidthArb = ((int)0x2034),
CubeMapFaceArb = ((int)0x207c),
StencilBufferBitArb = ((int)0x00000008),
NumberOverlaysArb = ((int)0x2008),
SwapExchangeExt = ((int)0x2028),
BackRightArb = ((int)0x2086),
DepthTextureFormatNv = ((int)0x20a5),
TextureFloatRgNv = ((int)0x20b6),
Texture1dArb = ((int)0x2079),
DepthBitsArb = ((int)0x2022),
BindToTextureDepthNv = ((int)0x20a3),
DrawToWindowArb = ((int)0x2001),
TypeRgbaExt = ((int)0x202b),
DigitalVideoCursorAlphaValueI3d = ((int)0x2051),
ErrorInvalidPixelTypeExt = ((int)0x2043),
AccumRedBitsExt = ((int)0x201e),
GreenBitsExt = ((int)0x2017),
TypeRgbaArb = ((int)0x202b),
DigitalVideoCursorAlphaFramebufferI3d = ((int)0x2050),
AuxBuffersArb = ((int)0x2024),
AccumRedBitsArb = ((int)0x201e),
TextureFloatRgbNv = ((int)0x20b7),
TypeColorindexExt = ((int)0x202c),
TransparentAlphaValueArb = ((int)0x203a),
BlueShiftExt = ((int)0x201a),
RedShiftArb = ((int)0x2016),
PbufferHeightExt = ((int)0x2035),
GenlockSourceEdgeRisingI3d = ((int)0x204b),
Texture2DArb = ((int)0x207a),
NumberUnderlaysArb = ((int)0x2009),
NumberUnderlaysExt = ((int)0x2009),
DrawToBitmapExt = ((int)0x2002),
ShareDepthArb = ((int)0x200c),
TextureDepthComponentNv = ((int)0x20a6),
NoAccelerationExt = ((int)0x2025),
PixelTypeExt = ((int)0x2013),
SupportOpenglArb = ((int)0x2010),
TextureCubeMapPositiveYArb = ((int)0x207f),
DrawToWindowExt = ((int)0x2001),
PbufferLargestExt = ((int)0x2033),
DrawToPbufferArb = ((int)0x202d),
SupportOpenglExt = ((int)0x2010),
SampleBuffers3dfx = ((int)0x2060),
GenlockSourceExtenalFieldI3d = ((int)0x2046),
MaxPbufferHeightExt = ((int)0x2030),
SupportGdiExt = ((int)0x200f),
Aux7Arb = ((int)0x208e),
DigitalVideoGammaCorrectedI3d = ((int)0x2053),
ColorBitsArb = ((int)0x2014),
Aux6Arb = ((int)0x208d),
ShareAccumExt = ((int)0x200e),
StereoArb = ((int)0x2012),
TextureRgbArb = ((int)0x2075),
AccelerationArb = ((int)0x2003),
TextureCubeMapPositiveXArb = ((int)0x207d),
TransparentRedValueArb = ((int)0x2037),
BlueBitsArb = ((int)0x2019),
SwapExchangeArb = ((int)0x2028),
SamplesExt = ((int)0x2042),
AlphaShiftExt = ((int)0x201c),
SamplesArb = ((int)0x2042),
TextureTargetArb = ((int)0x2073),
BindToTextureRectangleDepthNv = ((int)0x20a4),
AlphaShiftArb = ((int)0x201c),
Aux8Arb = ((int)0x208f),
MaxPbufferWidthExt = ((int)0x202f),
GenlockSourceEdgeFallingI3d = ((int)0x204a),
StereoExt = ((int)0x2012),
MaxPbufferWidthArb = ((int)0x202f),
TextureRectangleNv = ((int)0x20a2),
ImageBufferMinAccessI3d = ((int)0x00000001),
TextureCubeMapNegativeZArb = ((int)0x2082),
MipmapTextureArb = ((int)0x2074),
GenericAccelerationArb = ((int)0x2026),
BindToTextureRectangleFloatRNv = ((int)0x20b1),
FontLines = ((int)0),
}
public enum WGL_ARB_extensions_string public enum All
{ {
} SwapCopyExt = ((int)0x2029),
BackColorBufferBitArb = ((int)0x00000002),
FullAccelerationArb = ((int)0x2027),
AccelerationExt = ((int)0x2003),
GenlockSourceMultiviewI3d = ((int)0x2044),
Aux3Arb = ((int)0x208a),
TextureCubeMapNegativeYArb = ((int)0x2080),
DoubleBufferArb = ((int)0x2011),
SwapUndefinedExt = ((int)0x202a),
SupportGdiArb = ((int)0x200f),
Aux2Arb = ((int)0x2089),
TextureCubeMapArb = ((int)0x2078),
SwapLayerBuffersExt = ((int)0x2006),
SwapCopyArb = ((int)0x2029),
ErrorIncompatibleDeviceContextsArb = ((int)0x2054),
TypeColorindexArb = ((int)0x202c),
DigitalVideoCursorIncludedI3d = ((int)0x2052),
NeedPaletteExt = ((int)0x2004),
RedBitsArb = ((int)0x2015),
TextureCubeMapNegativeXArb = ((int)0x207e),
SampleBuffersExt = ((int)0x2041),
GenericAccelerationExt = ((int)0x2026),
BindToTextureRectangleRgbaNv = ((int)0x20a1),
NoTextureArb = ((int)0x2077),
FrontColorBufferBitArb = ((int)0x00000001),
TransparentValueExt = ((int)0x200b),
AlphaBitsArb = ((int)0x201b),
RedBitsExt = ((int)0x2015),
PbufferHeightArb = ((int)0x2035),
BindToTextureRectangleFloatRgbaNv = ((int)0x20b4),
SampleBuffersArb = ((int)0x2041),
MipmapLevelArb = ((int)0x207b),
NeedSystemPaletteExt = ((int)0x2005),
Aux4Arb = ((int)0x208b),
TextureFormatArb = ((int)0x2072),
AccumBitsExt = ((int)0x201d),
AccumBlueBitsExt = ((int)0x2020),
BackLeftArb = ((int)0x2085),
AlphaBitsExt = ((int)0x201b),
StencilBitsArb = ((int)0x2023),
DrawToPbufferExt = ((int)0x202d),
FullAccelerationExt = ((int)0x2027),
ColorBitsExt = ((int)0x2014),
BindToTextureRectangleFloatRgNv = ((int)0x20b2),
DepthBufferBitArb = ((int)0x00000004),
BindToTextureRgbaArb = ((int)0x2071),
AccumGreenBitsArb = ((int)0x201f),
AccumBitsArb = ((int)0x201d),
TypeRgbaFloatArb = ((int)0x21a0),
NeedPaletteArb = ((int)0x2004),
ShareAccumArb = ((int)0x200e),
TransparentArb = ((int)0x200a),
ShareStencilArb = ((int)0x200d),
Aux5Arb = ((int)0x208c),
ImageBufferLockI3d = ((int)0x00000002),
TextureFloatRNv = ((int)0x20b5),
DepthComponentNv = ((int)0x20a7),
FloatComponentsNv = ((int)0x20b0),
TransparentGreenValueArb = ((int)0x2038),
GenlockSourceExtenalTtlI3d = ((int)0x2047),
NeedSystemPaletteArb = ((int)0x2005),
BlueBitsExt = ((int)0x2019),
GreenShiftExt = ((int)0x2018),
OptimalPbufferWidthExt = ((int)0x2031),
AuxBuffersExt = ((int)0x2024),
TypeRgbaFloatAti = ((int)0x21a0),
FrontRightArb = ((int)0x2084),
DepthBitsExt = ((int)0x2022),
GammaTableSizeI3d = ((int)0x204e),
AccumAlphaBitsArb = ((int)0x2021),
Aux0Arb = ((int)0x2087),
TransparentIndexValueArb = ((int)0x203b),
AccumGreenBitsExt = ((int)0x201f),
TransparentBlueValueArb = ((int)0x2039),
NoAccelerationArb = ((int)0x2025),
MaxPbufferPixelsArb = ((int)0x202e),
GammaExcludeDesktopI3d = ((int)0x204f),
MaxPbufferPixelsExt = ((int)0x202e),
AccumBlueBitsArb = ((int)0x2020),
SwapUndefinedArb = ((int)0x202a),
ShareDepthExt = ((int)0x200c),
GenlockSourceEdgeBothI3d = ((int)0x204c),
Samples3dfx = ((int)0x2061),
DoubleBufferExt = ((int)0x2011),
BindToTextureRectangleFloatRgbNv = ((int)0x20b3),
SwapMethodExt = ((int)0x2007),
ErrorInvalidPixelTypeArb = ((int)0x2043),
GreenShiftArb = ((int)0x2018),
TextureFloatRgbaNv = ((int)0x20b8),
Aux1Arb = ((int)0x2088),
GreenBitsArb = ((int)0x2017),
NumberPixelFormatsExt = ((int)0x2000),
NumberOverlaysExt = ((int)0x2008),
PixelTypeArb = ((int)0x2013),
SwapLayerBuffersArb = ((int)0x2006),
DrawToBitmapArb = ((int)0x2002),
NumberPixelFormatsArb = ((int)0x2000),
PbufferLostArb = ((int)0x2036),
Aux9Arb = ((int)0x2090),
TextureCubeMapPositiveZArb = ((int)0x2081),
MaxPbufferHeightArb = ((int)0x2030),
TransparentExt = ((int)0x200a),
PbufferLargestArb = ((int)0x2033),
SwapMethodArb = ((int)0x2007),
TextureRgbaArb = ((int)0x2076),
PbufferWidthExt = ((int)0x2034),
OptimalPbufferHeightExt = ((int)0x2032),
StencilBitsExt = ((int)0x2023),
ShareStencilExt = ((int)0x200d),
DepthFloatExt = ((int)0x2040),
BindToTextureRgbArb = ((int)0x2070),
BindToTextureRectangleRgbNv = ((int)0x20a0),
GenlockSourceDigitalSyncI3d = ((int)0x2048),
AccumAlphaBitsExt = ((int)0x2021),
GenlockSourceExtenalSyncI3d = ((int)0x2045),
RedShiftExt = ((int)0x2016),
GenlockSourceDigitalFieldI3d = ((int)0x2049),
FrontLeftArb = ((int)0x2083),
BlueShiftArb = ((int)0x201a),
PbufferWidthArb = ((int)0x2034),
CubeMapFaceArb = ((int)0x207c),
StencilBufferBitArb = ((int)0x00000008),
NumberOverlaysArb = ((int)0x2008),
SwapExchangeExt = ((int)0x2028),
BackRightArb = ((int)0x2086),
DepthTextureFormatNv = ((int)0x20a5),
TextureFloatRgNv = ((int)0x20b6),
Texture1dArb = ((int)0x2079),
DepthBitsArb = ((int)0x2022),
BindToTextureDepthNv = ((int)0x20a3),
DrawToWindowArb = ((int)0x2001),
TypeRgbaExt = ((int)0x202b),
DigitalVideoCursorAlphaValueI3d = ((int)0x2051),
ErrorInvalidPixelTypeExt = ((int)0x2043),
AccumRedBitsExt = ((int)0x201e),
GreenBitsExt = ((int)0x2017),
TypeRgbaArb = ((int)0x202b),
DigitalVideoCursorAlphaFramebufferI3d = ((int)0x2050),
AuxBuffersArb = ((int)0x2024),
AccumRedBitsArb = ((int)0x201e),
TextureFloatRgbNv = ((int)0x20b7),
TypeColorindexExt = ((int)0x202c),
TransparentAlphaValueArb = ((int)0x203a),
BlueShiftExt = ((int)0x201a),
RedShiftArb = ((int)0x2016),
PbufferHeightExt = ((int)0x2035),
GenlockSourceEdgeRisingI3d = ((int)0x204b),
Texture2DArb = ((int)0x207a),
NumberUnderlaysArb = ((int)0x2009),
NumberUnderlaysExt = ((int)0x2009),
DrawToBitmapExt = ((int)0x2002),
ShareDepthArb = ((int)0x200c),
TextureDepthComponentNv = ((int)0x20a6),
NoAccelerationExt = ((int)0x2025),
PixelTypeExt = ((int)0x2013),
SupportOpenglArb = ((int)0x2010),
TextureCubeMapPositiveYArb = ((int)0x207f),
DrawToWindowExt = ((int)0x2001),
PbufferLargestExt = ((int)0x2033),
DrawToPbufferArb = ((int)0x202d),
SupportOpenglExt = ((int)0x2010),
SampleBuffers3dfx = ((int)0x2060),
GenlockSourceExtenalFieldI3d = ((int)0x2046),
MaxPbufferHeightExt = ((int)0x2030),
SupportGdiExt = ((int)0x200f),
Aux7Arb = ((int)0x208e),
DigitalVideoGammaCorrectedI3d = ((int)0x2053),
ColorBitsArb = ((int)0x2014),
Aux6Arb = ((int)0x208d),
ShareAccumExt = ((int)0x200e),
StereoArb = ((int)0x2012),
TextureRgbArb = ((int)0x2075),
AccelerationArb = ((int)0x2003),
TextureCubeMapPositiveXArb = ((int)0x207d),
TransparentRedValueArb = ((int)0x2037),
BlueBitsArb = ((int)0x2019),
SwapExchangeArb = ((int)0x2028),
SamplesExt = ((int)0x2042),
AlphaShiftExt = ((int)0x201c),
SamplesArb = ((int)0x2042),
TextureTargetArb = ((int)0x2073),
BindToTextureRectangleDepthNv = ((int)0x20a4),
AlphaShiftArb = ((int)0x201c),
Aux8Arb = ((int)0x208f),
MaxPbufferWidthExt = ((int)0x202f),
GenlockSourceEdgeFallingI3d = ((int)0x204a),
StereoExt = ((int)0x2012),
MaxPbufferWidthArb = ((int)0x202f),
TextureRectangleNv = ((int)0x20a2),
ImageBufferMinAccessI3d = ((int)0x00000001),
TextureCubeMapNegativeZArb = ((int)0x2082),
MipmapTextureArb = ((int)0x2074),
GenericAccelerationArb = ((int)0x2026),
BindToTextureRectangleFloatRNv = ((int)0x20b1),
FontLines = ((int)0),
}
public enum WGL_I3D_image_buffer public enum WGL_ARB_extensions_string
{ {
ImageBufferMinAccessI3d = ((int)0x00000001), }
ImageBufferLockI3d = ((int)0x00000002),
}
public enum WGL_I3D_swap_frame_lock public enum WGL_I3D_image_buffer
{ {
} ImageBufferMinAccessI3d = ((int)0x00000001),
ImageBufferLockI3d = ((int)0x00000002),
}
public enum WGL_I3D_swap_frame_lock
{
} }
} }