diff --git a/Source/Bind/Specifications/GL2/gloverrides.xml b/Source/Bind/Specifications/GL2/gloverrides.xml index ed02c4bf..5ea79a66 100644 --- a/Source/Bind/Specifications/GL2/gloverrides.xml +++ b/Source/Bind/Specifications/GL2/gloverrides.xml @@ -811,7 +811,7 @@ - AssemblyProgramParameterArb + ProgramParameterPName @@ -848,6 +848,20 @@ + + + + + AtomicCounterBufferParameter + + + + + + MemoryBarrierFlags + + + @@ -873,6 +887,48 @@ PixelFormat + + + + ProgramInterface + + + ProgramInterfaceParameter + + + + + + ProgramInterface + + + + + + ProgramInterface + + + + + + ProgramInterface + + + ProgramProperty + + + + + + ProgramInterface + + + + + + ProgramInterface + + @@ -1036,7 +1092,7 @@ AssemblyProgramParameterArb - + NormalPointerType @@ -1300,106 +1356,134 @@ - - - - - - - - + + + + + + + + + - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1467,6 +1551,18 @@ + + + + + + + + + + + + @@ -2286,6 +2382,24 @@ + + + + + + + + + + + + + + + + + + @@ -2468,25 +2582,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -2494,18 +2637,62 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -2684,12 +2871,14 @@ - - - - + + + + - + + + diff --git a/Source/OpenTK/Graphics/OpenGL/GL.cs b/Source/OpenTK/Graphics/OpenGL/GL.cs index 66e7ffeb..9874cf89 100644 --- a/Source/OpenTK/Graphics/OpenGL/GL.cs +++ b/Source/OpenTK/Graphics/OpenGL/GL.cs @@ -52872,7 +52872,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.2 and ARB_shader_atomic_counters] [AutoGenerated(Category = "ARB_shader_atomic_counters", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] public static - void GetActiveAtomicCounterBuffer(Int32 program, Int32 bufferIndex, OpenTK.Graphics.OpenGL.ArbShaderAtomicCounters pname, [OutAttribute] Int32[] @params) + void GetActiveAtomicCounterBuffer(Int32 program, Int32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52882,7 +52882,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = @params) { - Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.ArbShaderAtomicCounters)pname, (Int32*)@params_ptr); + Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -52893,7 +52893,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.2 and ARB_shader_atomic_counters] [AutoGenerated(Category = "ARB_shader_atomic_counters", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] public static - void GetActiveAtomicCounterBuffer(Int32 program, Int32 bufferIndex, OpenTK.Graphics.OpenGL.ArbShaderAtomicCounters pname, [OutAttribute] out Int32 @params) + void GetActiveAtomicCounterBuffer(Int32 program, Int32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52903,7 +52903,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.ArbShaderAtomicCounters)pname, (Int32*)@params_ptr); + Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -52916,13 +52916,13 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_atomic_counters", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] public static - unsafe void GetActiveAtomicCounterBuffer(Int32 program, Int32 bufferIndex, OpenTK.Graphics.OpenGL.ArbShaderAtomicCounters pname, [OutAttribute] Int32* @params) + unsafe void GetActiveAtomicCounterBuffer(Int32 program, Int32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.ArbShaderAtomicCounters)pname, (Int32*)@params); + Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -52932,7 +52932,7 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_atomic_counters", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] public static - void GetActiveAtomicCounterBuffer(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL.ArbShaderAtomicCounters pname, [OutAttribute] Int32[] @params) + void GetActiveAtomicCounterBuffer(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52942,7 +52942,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = @params) { - Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.ArbShaderAtomicCounters)pname, (Int32*)@params_ptr); + Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -52954,7 +52954,7 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_atomic_counters", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] public static - void GetActiveAtomicCounterBuffer(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL.ArbShaderAtomicCounters pname, [OutAttribute] out Int32 @params) + void GetActiveAtomicCounterBuffer(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52964,7 +52964,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.ArbShaderAtomicCounters)pname, (Int32*)@params_ptr); + Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -52977,13 +52977,13 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_shader_atomic_counters", Version = "4.2", EntryPoint = "glGetActiveAtomicCounterBufferiv")] public static - unsafe void GetActiveAtomicCounterBuffer(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL.ArbShaderAtomicCounters pname, [OutAttribute] Int32* @params) + unsafe void GetActiveAtomicCounterBuffer(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.ArbShaderAtomicCounters)pname, (Int32*)@params); + Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -63183,7 +63183,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.3 and ARB_program_interface_query] [AutoGenerated(Category = "ARB_program_interface_query", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] public static - void GetProgramInterface(Int32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery pname, [OutAttribute] Int32[] @params) + void GetProgramInterface(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, OpenTK.Graphics.OpenGL.ProgramInterfaceParameter pname, [OutAttribute] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -63193,7 +63193,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = @params) { - Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)programInterface, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)pname, (Int32*)@params_ptr); + Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL.ProgramInterfaceParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -63204,7 +63204,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.3 and ARB_program_interface_query] [AutoGenerated(Category = "ARB_program_interface_query", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] public static - void GetProgramInterface(Int32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery pname, [OutAttribute] out Int32 @params) + void GetProgramInterface(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, OpenTK.Graphics.OpenGL.ProgramInterfaceParameter pname, [OutAttribute] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -63214,7 +63214,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)programInterface, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)pname, (Int32*)@params_ptr); + Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL.ProgramInterfaceParameter)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -63227,13 +63227,13 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] public static - unsafe void GetProgramInterface(Int32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery pname, [OutAttribute] Int32* @params) + unsafe void GetProgramInterface(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, OpenTK.Graphics.OpenGL.ProgramInterfaceParameter pname, [OutAttribute] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)programInterface, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)pname, (Int32*)@params); + Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL.ProgramInterfaceParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -63243,7 +63243,7 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] public static - void GetProgramInterface(UInt32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery pname, [OutAttribute] Int32[] @params) + void GetProgramInterface(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, OpenTK.Graphics.OpenGL.ProgramInterfaceParameter pname, [OutAttribute] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -63253,7 +63253,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = @params) { - Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)programInterface, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)pname, (Int32*)@params_ptr); + Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL.ProgramInterfaceParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -63265,7 +63265,7 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] public static - void GetProgramInterface(UInt32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery pname, [OutAttribute] out Int32 @params) + void GetProgramInterface(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, OpenTK.Graphics.OpenGL.ProgramInterfaceParameter pname, [OutAttribute] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -63275,7 +63275,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)programInterface, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)pname, (Int32*)@params_ptr); + Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL.ProgramInterfaceParameter)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -63288,13 +63288,13 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query", Version = "4.3", EntryPoint = "glGetProgramInterfaceiv")] public static - unsafe void GetProgramInterface(UInt32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery pname, [OutAttribute] Int32* @params) + unsafe void GetProgramInterface(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, OpenTK.Graphics.OpenGL.ProgramInterfaceParameter pname, [OutAttribute] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)programInterface, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)pname, (Int32*)@params); + Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL.ProgramInterfaceParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -63928,13 +63928,13 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.3 and ARB_program_interface_query] [AutoGenerated(Category = "ARB_program_interface_query", Version = "4.3", EntryPoint = "glGetProgramResourceIndex")] public static - Int32 GetProgramResourceIndex(Int32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, String name) + Int32 GetProgramResourceIndex(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glGetProgramResourceIndex((UInt32)program, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)programInterface, (String)name); + return Delegates.glGetProgramResourceIndex((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (String)name); #if DEBUG } #endif @@ -63944,13 +63944,13 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query", Version = "4.3", EntryPoint = "glGetProgramResourceIndex")] public static - Int32 GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, String name) + Int32 GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glGetProgramResourceIndex((UInt32)program, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)programInterface, (String)name); + return Delegates.glGetProgramResourceIndex((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (String)name); #if DEBUG } #endif @@ -63959,7 +63959,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.3 and ARB_program_interface_query] [AutoGenerated(Category = "ARB_program_interface_query", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] public static - void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, Int32 index, Int32 propCount, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery[] props, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] @params) + void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 propCount, OpenTK.Graphics.OpenGL.ProgramProperty[] props, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -63967,11 +63967,11 @@ namespace OpenTK.Graphics.OpenGL #endif unsafe { - fixed (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery* props_ptr = props) + fixed (OpenTK.Graphics.OpenGL.ProgramProperty* props_ptr = props) fixed (Int32* length_ptr = length) fixed (Int32* @params_ptr = @params) { - Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery*)props_ptr, (Int32)bufSize, (Int32*)length_ptr, (Int32*)@params_ptr); + Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL.ProgramProperty*)props_ptr, (Int32)bufSize, (Int32*)length_ptr, (Int32*)@params_ptr); } } #if DEBUG @@ -63982,7 +63982,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.3 and ARB_program_interface_query] [AutoGenerated(Category = "ARB_program_interface_query", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] public static - void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, Int32 index, Int32 propCount, ref OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery props, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 @params) + void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 propCount, ref OpenTK.Graphics.OpenGL.ProgramProperty props, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -63990,11 +63990,11 @@ namespace OpenTK.Graphics.OpenGL #endif unsafe { - fixed (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery* props_ptr = &props) + fixed (OpenTK.Graphics.OpenGL.ProgramProperty* props_ptr = &props) fixed (Int32* length_ptr = &length) fixed (Int32* @params_ptr = &@params) { - Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery*)props_ptr, (Int32)bufSize, (Int32*)length_ptr, (Int32*)@params_ptr); + Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL.ProgramProperty*)props_ptr, (Int32)bufSize, (Int32*)length_ptr, (Int32*)@params_ptr); length = *length_ptr; @params = *@params_ptr; } @@ -64008,13 +64008,13 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] public static - unsafe void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, Int32 index, Int32 propCount, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params) + unsafe void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 propCount, OpenTK.Graphics.OpenGL.ProgramProperty* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery*)props, (Int32)bufSize, (Int32*)length, (Int32*)@params); + Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL.ProgramProperty*)props, (Int32)bufSize, (Int32*)length, (Int32*)@params); #if DEBUG } #endif @@ -64024,7 +64024,7 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] public static - void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, UInt32 index, Int32 propCount, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery[] props, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] @params) + void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 propCount, OpenTK.Graphics.OpenGL.ProgramProperty[] props, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -64032,11 +64032,11 @@ namespace OpenTK.Graphics.OpenGL #endif unsafe { - fixed (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery* props_ptr = props) + fixed (OpenTK.Graphics.OpenGL.ProgramProperty* props_ptr = props) fixed (Int32* length_ptr = length) fixed (Int32* @params_ptr = @params) { - Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery*)props_ptr, (Int32)bufSize, (Int32*)length_ptr, (Int32*)@params_ptr); + Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL.ProgramProperty*)props_ptr, (Int32)bufSize, (Int32*)length_ptr, (Int32*)@params_ptr); } } #if DEBUG @@ -64048,7 +64048,7 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] public static - void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, UInt32 index, Int32 propCount, ref OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery props, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 @params) + void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 propCount, ref OpenTK.Graphics.OpenGL.ProgramProperty props, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -64056,11 +64056,11 @@ namespace OpenTK.Graphics.OpenGL #endif unsafe { - fixed (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery* props_ptr = &props) + fixed (OpenTK.Graphics.OpenGL.ProgramProperty* props_ptr = &props) fixed (Int32* length_ptr = &length) fixed (Int32* @params_ptr = &@params) { - Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery*)props_ptr, (Int32)bufSize, (Int32*)length_ptr, (Int32*)@params_ptr); + Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL.ProgramProperty*)props_ptr, (Int32)bufSize, (Int32*)length_ptr, (Int32*)@params_ptr); length = *length_ptr; @params = *@params_ptr; } @@ -64074,13 +64074,13 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] public static - unsafe void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, UInt32 index, Int32 propCount, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params) + unsafe void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 propCount, OpenTK.Graphics.OpenGL.ProgramProperty* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery*)props, (Int32)bufSize, (Int32*)length, (Int32*)@params); + Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL.ProgramProperty*)props, (Int32)bufSize, (Int32*)length, (Int32*)@params); #if DEBUG } #endif @@ -64089,13 +64089,13 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.3 and ARB_program_interface_query] [AutoGenerated(Category = "ARB_program_interface_query", Version = "4.3", EntryPoint = "glGetProgramResourceLocation")] public static - Int32 GetProgramResourceLocation(Int32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, String name) + Int32 GetProgramResourceLocation(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glGetProgramResourceLocation((UInt32)program, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)programInterface, (String)name); + return Delegates.glGetProgramResourceLocation((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (String)name); #if DEBUG } #endif @@ -64105,13 +64105,13 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query", Version = "4.3", EntryPoint = "glGetProgramResourceLocation")] public static - Int32 GetProgramResourceLocation(UInt32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, String name) + Int32 GetProgramResourceLocation(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glGetProgramResourceLocation((UInt32)program, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)programInterface, (String)name); + return Delegates.glGetProgramResourceLocation((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (String)name); #if DEBUG } #endif @@ -64120,13 +64120,13 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.3 and ARB_program_interface_query] [AutoGenerated(Category = "ARB_program_interface_query", Version = "4.3", EntryPoint = "glGetProgramResourceLocationIndex")] public static - Int32 GetProgramResourceLocationIndex(Int32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, String name) + Int32 GetProgramResourceLocationIndex(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glGetProgramResourceLocationIndex((UInt32)program, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)programInterface, (String)name); + return Delegates.glGetProgramResourceLocationIndex((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (String)name); #if DEBUG } #endif @@ -64136,13 +64136,13 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query", Version = "4.3", EntryPoint = "glGetProgramResourceLocationIndex")] public static - Int32 GetProgramResourceLocationIndex(UInt32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, String name) + Int32 GetProgramResourceLocationIndex(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glGetProgramResourceLocationIndex((UInt32)program, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)programInterface, (String)name); + return Delegates.glGetProgramResourceLocationIndex((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (String)name); #if DEBUG } #endif @@ -64151,7 +64151,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.3 and ARB_program_interface_query] [AutoGenerated(Category = "ARB_program_interface_query", Version = "4.3", EntryPoint = "glGetProgramResourceName")] public static - void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, Int32 index, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder name) + void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -64161,7 +64161,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* length_ptr = length) { - Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)name); + Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)name); } } #if DEBUG @@ -64172,7 +64172,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.3 and ARB_program_interface_query] [AutoGenerated(Category = "ARB_program_interface_query", Version = "4.3", EntryPoint = "glGetProgramResourceName")] public static - void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name) + void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -64182,7 +64182,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* length_ptr = &length) { - Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)name); + Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)name); length = *length_ptr; } } @@ -64195,13 +64195,13 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query", Version = "4.3", EntryPoint = "glGetProgramResourceName")] public static - unsafe void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) + unsafe void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length, (StringBuilder)name); + Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length, (StringBuilder)name); #if DEBUG } #endif @@ -64211,7 +64211,7 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query", Version = "4.3", EntryPoint = "glGetProgramResourceName")] public static - void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder name) + void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -64221,7 +64221,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* length_ptr = length) { - Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)name); + Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)name); } } #if DEBUG @@ -64233,7 +64233,7 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query", Version = "4.3", EntryPoint = "glGetProgramResourceName")] public static - void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name) + void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -64243,7 +64243,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* length_ptr = &length) { - Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)name); + Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)name); length = *length_ptr; } } @@ -64256,13 +64256,13 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_program_interface_query", Version = "4.3", EntryPoint = "glGetProgramResourceName")] public static - unsafe void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) + unsafe void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length, (StringBuilder)name); + Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length, (StringBuilder)name); #if DEBUG } #endif @@ -76155,29 +76155,13 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.2 and ARB_shader_image_load_store] [AutoGenerated(Category = "ARB_shader_image_load_store", Version = "4.2", EntryPoint = "glMemoryBarrier")] public static - void MemoryBarrier(Int32 barriers) + void MemoryBarrier(OpenTK.Graphics.OpenGL.MemoryBarrierFlags barriers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMemoryBarrier((UInt32)barriers); - #if DEBUG - } - #endif - } - - /// [requires: v4.2 and ARB_shader_image_load_store] - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_shader_image_load_store", Version = "4.2", EntryPoint = "glMemoryBarrier")] - public static - void MemoryBarrier(UInt32 barriers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMemoryBarrier((UInt32)barriers); + Delegates.glMemoryBarrier((OpenTK.Graphics.OpenGL.MemoryBarrierFlags)barriers); #if DEBUG } #endif @@ -83961,13 +83945,13 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "ARB_get_program_binary", Version = "3.0", EntryPoint = "glProgramParameteri")] public static - void ProgramParameter(Int32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value) + void ProgramParameter(Int32 program, OpenTK.Graphics.OpenGL.ProgramParameterPName pname, Int32 value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32)value); + Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramParameterPName)pname, (Int32)value); #if DEBUG } #endif @@ -83995,13 +83979,13 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_get_program_binary", Version = "3.0", EntryPoint = "glProgramParameteri")] public static - void ProgramParameter(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value) + void ProgramParameter(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameterPName pname, Int32 value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32)value); + Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramParameterPName)pname, (Int32)value); #if DEBUG } #endif @@ -132319,7 +132303,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: EXT_direct_state_access] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] public static - void GetNamedProgram(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params) + void GetNamedProgram(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ProgramProperty pname, [OutAttribute] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -132329,7 +132313,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -132342,13 +132326,13 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] public static - unsafe void GetNamedProgram(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) + unsafe void GetNamedProgram(Int32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ProgramProperty pname, [OutAttribute] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); + Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (Int32*)@params); #if DEBUG } #endif @@ -132358,7 +132342,7 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] public static - void GetNamedProgram(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] out Int32 @params) + void GetNamedProgram(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ProgramProperty pname, [OutAttribute] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -132368,7 +132352,7 @@ namespace OpenTK.Graphics.OpenGL { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -132381,13 +132365,13 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "EXT_direct_state_access", Version = "", EntryPoint = "glGetNamedProgramivEXT")] public static - unsafe void GetNamedProgram(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) + unsafe void GetNamedProgram(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ProgramProperty pname, [OutAttribute] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); + Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (Int32*)@params); #if DEBUG } #endif diff --git a/Source/OpenTK/Graphics/OpenGL/GLCore.cs b/Source/OpenTK/Graphics/OpenGL/GLCore.cs index 4f0b05a6..75621bb1 100644 --- a/Source/OpenTK/Graphics/OpenGL/GLCore.cs +++ b/Source/OpenTK/Graphics/OpenGL/GLCore.cs @@ -1841,7 +1841,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static Int32 GenVertexShadersEXT(UInt32 range); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveAtomicCounterBufferiv", ExactSpelling = true)] - internal extern static unsafe void GetActiveAtomicCounterBufferiv(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL.ArbShaderAtomicCounters pname, [OutAttribute] Int32* @params); + internal extern static unsafe void GetActiveAtomicCounterBufferiv(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveAttrib", ExactSpelling = true)] internal extern static unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name); @@ -2312,7 +2312,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static unsafe void GetNamedFramebufferParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ArbFramebufferNoAttachments pname, [OutAttribute] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramivEXT", ExactSpelling = true)] - internal extern static unsafe void GetNamedProgramivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); + internal extern static unsafe void GetNamedProgramivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ProgramProperty pname, [OutAttribute] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramLocalParameterdvEXT", ExactSpelling = true)] internal extern static unsafe void GetNamedProgramLocalParameterdvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double* @params); @@ -2531,7 +2531,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramInterfaceiv", ExactSpelling = true)] - internal extern static unsafe void GetProgramInterfaceiv(UInt32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery pname, [OutAttribute] Int32* @params); + internal extern static unsafe void GetProgramInterfaceiv(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, OpenTK.Graphics.OpenGL.ProgramInterfaceParameter pname, [OutAttribute] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramiv", ExactSpelling = true)] internal extern static unsafe void GetProgramiv(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] Int32* @params); @@ -2573,19 +2573,19 @@ namespace OpenTK.Graphics.OpenGL internal extern static unsafe void GetProgramPipelineiv(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramResourceIndex", ExactSpelling = true)] - internal extern static Int32 GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, String name); + internal extern static Int32 GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramResourceiv", ExactSpelling = true)] - internal extern static unsafe void GetProgramResourceiv(UInt32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, UInt32 index, Int32 propCount, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params); + internal extern static unsafe void GetProgramResourceiv(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 propCount, OpenTK.Graphics.OpenGL.ProgramProperty* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramResourceLocation", ExactSpelling = true)] - internal extern static Int32 GetProgramResourceLocation(UInt32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, String name); + internal extern static Int32 GetProgramResourceLocation(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramResourceLocationIndex", ExactSpelling = true)] - internal extern static Int32 GetProgramResourceLocationIndex(UInt32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, String name); + internal extern static Int32 GetProgramResourceLocationIndex(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramResourceName", ExactSpelling = true)] - internal extern static unsafe void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); + internal extern static unsafe void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramStageiv", ExactSpelling = true)] internal extern static unsafe void GetProgramStageiv(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ProgramStageParameter pname, [OutAttribute] Int32* values); @@ -3524,7 +3524,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static void MatrixTranslatefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMemoryBarrier", ExactSpelling = true)] - internal extern static void MemoryBarrier(UInt32 barriers); + internal extern static void MemoryBarrier(OpenTK.Graphics.OpenGL.MemoryBarrierFlags barriers); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMemoryBarrierEXT", ExactSpelling = true)] internal extern static void MemoryBarrierEXT(UInt32 barriers); @@ -4532,7 +4532,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static unsafe void ProgramParameter4fvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameteri", ExactSpelling = true)] - internal extern static void ProgramParameteri(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value); + internal extern static void ProgramParameteri(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameterPName pname, Int32 value); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameteriARB", ExactSpelling = true)] internal extern static void ProgramParameteriARB(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value); diff --git a/Source/OpenTK/Graphics/OpenGL/GLDelegates.cs b/Source/OpenTK/Graphics/OpenGL/GLDelegates.cs index e846840c..c69e12a8 100644 --- a/Source/OpenTK/Graphics/OpenGL/GLDelegates.cs +++ b/Source/OpenTK/Graphics/OpenGL/GLDelegates.cs @@ -1839,7 +1839,7 @@ namespace OpenTK.Graphics.OpenGL internal delegate Int32 GenVertexShadersEXT(UInt32 range); internal static GenVertexShadersEXT glGenVertexShadersEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetActiveAtomicCounterBufferiv(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL.ArbShaderAtomicCounters pname, [OutAttribute] Int32* @params); + internal unsafe delegate void GetActiveAtomicCounterBufferiv(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] Int32* @params); internal unsafe static GetActiveAtomicCounterBufferiv glGetActiveAtomicCounterBufferiv; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name); @@ -2310,7 +2310,7 @@ namespace OpenTK.Graphics.OpenGL internal unsafe delegate void GetNamedFramebufferParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ArbFramebufferNoAttachments pname, [OutAttribute] Int32* @params); internal unsafe static GetNamedFramebufferParameterivEXT glGetNamedFramebufferParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetNamedProgramivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params); + internal unsafe delegate void GetNamedProgramivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ProgramProperty pname, [OutAttribute] Int32* @params); internal unsafe static GetNamedProgramivEXT glGetNamedProgramivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetNamedProgramLocalParameterdvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double* @params); @@ -2529,7 +2529,7 @@ namespace OpenTK.Graphics.OpenGL internal unsafe delegate void GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); internal unsafe static GetProgramInfoLog glGetProgramInfoLog; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramInterfaceiv(UInt32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery pname, [OutAttribute] Int32* @params); + internal unsafe delegate void GetProgramInterfaceiv(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, OpenTK.Graphics.OpenGL.ProgramInterfaceParameter pname, [OutAttribute] Int32* @params); internal unsafe static GetProgramInterfaceiv glGetProgramInterfaceiv; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetProgramiv(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameter pname, [OutAttribute] Int32* @params); @@ -2571,19 +2571,19 @@ namespace OpenTK.Graphics.OpenGL internal unsafe delegate void GetProgramPipelineiv(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] Int32* @params); internal unsafe static GetProgramPipelineiv glGetProgramPipelineiv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, String name); + internal delegate Int32 GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name); internal static GetProgramResourceIndex glGetProgramResourceIndex; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramResourceiv(UInt32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, UInt32 index, Int32 propCount, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params); + internal unsafe delegate void GetProgramResourceiv(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 propCount, OpenTK.Graphics.OpenGL.ProgramProperty* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params); internal unsafe static GetProgramResourceiv glGetProgramResourceiv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetProgramResourceLocation(UInt32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, String name); + internal delegate Int32 GetProgramResourceLocation(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name); internal static GetProgramResourceLocation glGetProgramResourceLocation; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetProgramResourceLocationIndex(UInt32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, String name); + internal delegate Int32 GetProgramResourceLocationIndex(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name); internal static GetProgramResourceLocationIndex glGetProgramResourceLocationIndex; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL.ArbProgramInterfaceQuery programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); + internal unsafe delegate void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); internal unsafe static GetProgramResourceName glGetProgramResourceName; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetProgramStageiv(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ProgramStageParameter pname, [OutAttribute] Int32* values); @@ -3522,7 +3522,7 @@ namespace OpenTK.Graphics.OpenGL internal delegate void MatrixTranslatefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z); internal static MatrixTranslatefEXT glMatrixTranslatefEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MemoryBarrier(UInt32 barriers); + internal delegate void MemoryBarrier(OpenTK.Graphics.OpenGL.MemoryBarrierFlags barriers); internal static MemoryBarrier glMemoryBarrier; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void MemoryBarrierEXT(UInt32 barriers); @@ -4530,7 +4530,7 @@ namespace OpenTK.Graphics.OpenGL internal unsafe delegate void ProgramParameter4fvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* v); internal unsafe static ProgramParameter4fvNV glProgramParameter4fvNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ProgramParameteri(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value); + internal delegate void ProgramParameteri(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameterPName pname, Int32 value); internal static ProgramParameteri glProgramParameteri; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void ProgramParameteriARB(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value); diff --git a/Source/OpenTK/Graphics/OpenGL/GLEnums.cs b/Source/OpenTK/Graphics/OpenGL/GLEnums.cs index a1625895..a26821c7 100644 --- a/Source/OpenTK/Graphics/OpenGL/GLEnums.cs +++ b/Source/OpenTK/Graphics/OpenGL/GLEnums.cs @@ -243,6 +243,10 @@ namespace OpenTK.Graphics.OpenGL /// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER = 0x8A46 /// UniformBlockReferencedByFragmentShader = ((int)0x8A46) , + /// + /// Original was GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER = 0x90EC + /// + UniformBlockReferencedByComputeShader = ((int)0x90EC) , } /// @@ -282,6 +286,10 @@ namespace OpenTK.Graphics.OpenGL /// Original was GL_UNIFORM_IS_ROW_MAJOR = 0x8A3E /// UniformIsRowMajor = ((int)0x8A3E) , + /// + /// Original was GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX = 0x92DA + /// + UniformAtomicCounterBufferIndex = ((int)0x92DA) , } /// @@ -398,10 +406,6 @@ namespace OpenTK.Graphics.OpenGL /// FloatMat2x4 = ((int)0x8B66) , /// - /// Original was GL_FLOAT_MAT3x2 = 0x8B67 - /// - FloatMat3x2 = ((int)0x8B67) , - /// /// Original was GL_FLOAT_MAT3x4 = 0x8B68 /// FloatMat3x4 = ((int)0x8B68) , @@ -514,42 +518,6 @@ namespace OpenTK.Graphics.OpenGL /// UnsignedIntSamplerBuffer = ((int)0x8DD8) , /// - /// Original was GL_DOUBLE_MAT2 = 0x8F46 - /// - DoubleMat2 = ((int)0x8F46) , - /// - /// Original was GL_DOUBLE_MAT3 = 0x8F47 - /// - DoubleMat3 = ((int)0x8F47) , - /// - /// Original was GL_DOUBLE_MAT4 = 0x8F48 - /// - DoubleMat4 = ((int)0x8F48) , - /// - /// Original was GL_DOUBLE_MAT2x3 = 0x8F49 - /// - DoubleMat2x3 = ((int)0x8F49) , - /// - /// Original was GL_DOUBLE_MAT2x4 = 0x8F4A - /// - DoubleMat2x4 = ((int)0x8F4A) , - /// - /// Original was GL_DOUBLE_MAT3x2 = 0x8F4B - /// - DoubleMat3x2 = ((int)0x8F4B) , - /// - /// Original was GL_DOUBLE_MAT3x4 = 0x8F4C - /// - DoubleMat3x4 = ((int)0x8F4C) , - /// - /// Original was GL_DOUBLE_MAT4x2 = 0x8F4D - /// - DoubleMat4x2 = ((int)0x8F4D) , - /// - /// Original was GL_DOUBLE_MAT4x3 = 0x8F4E - /// - DoubleMat4x3 = ((int)0x8F4E) , - /// /// Original was GL_DOUBLE_VEC2 = 0x8FFC /// DoubleVec2 = ((int)0x8FFC) , @@ -578,6 +546,138 @@ namespace OpenTK.Graphics.OpenGL /// UnsignedIntSamplerCubeMapArray = ((int)0x900F) , /// + /// Original was GL_IMAGE_1D = 0x904C + /// + Image1D = ((int)0x904C) , + /// + /// Original was GL_IMAGE_2D = 0x904D + /// + Image2D = ((int)0x904D) , + /// + /// Original was GL_IMAGE_3D = 0x904E + /// + Image3D = ((int)0x904E) , + /// + /// Original was GL_IMAGE_2D_RECT = 0x904F + /// + Image2DRect = ((int)0x904F) , + /// + /// Original was GL_IMAGE_CUBE = 0x9050 + /// + ImageCube = ((int)0x9050) , + /// + /// Original was GL_IMAGE_BUFFER = 0x9051 + /// + ImageBuffer = ((int)0x9051) , + /// + /// Original was GL_IMAGE_1D_ARRAY = 0x9052 + /// + Image1DArray = ((int)0x9052) , + /// + /// Original was GL_IMAGE_2D_ARRAY = 0x9053 + /// + Image2DArray = ((int)0x9053) , + /// + /// Original was GL_IMAGE_CUBE_MAP_ARRAY = 0x9054 + /// + ImageCubeMapArray = ((int)0x9054) , + /// + /// Original was GL_IMAGE_2D_MULTISAMPLE = 0x9055 + /// + Image2DMultisample = ((int)0x9055) , + /// + /// Original was GL_IMAGE_2D_MULTISAMPLE_ARRAY = 0x9056 + /// + Image2DMultisampleArray = ((int)0x9056) , + /// + /// Original was GL_INT_IMAGE_1D = 0x9057 + /// + IntImage1D = ((int)0x9057) , + /// + /// Original was GL_INT_IMAGE_2D = 0x9058 + /// + IntImage2D = ((int)0x9058) , + /// + /// Original was GL_INT_IMAGE_3D = 0x9059 + /// + IntImage3D = ((int)0x9059) , + /// + /// Original was GL_INT_IMAGE_2D_RECT = 0x905A + /// + IntImage2DRect = ((int)0x905A) , + /// + /// Original was GL_INT_IMAGE_CUBE = 0x905B + /// + IntImageCube = ((int)0x905B) , + /// + /// Original was GL_INT_IMAGE_BUFFER = 0x905C + /// + IntImageBuffer = ((int)0x905C) , + /// + /// Original was GL_INT_IMAGE_1D_ARRAY = 0x905D + /// + IntImage1DArray = ((int)0x905D) , + /// + /// Original was GL_INT_IMAGE_2D_ARRAY = 0x905E + /// + IntImage2DArray = ((int)0x905E) , + /// + /// Original was GL_INT_IMAGE_CUBE_MAP_ARRAY = 0x905F + /// + IntImageCubeMapArray = ((int)0x905F) , + /// + /// Original was GL_INT_IMAGE_2D_MULTISAMPLE = 0x9060 + /// + IntImage2DMultisample = ((int)0x9060) , + /// + /// Original was GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY = 0x9061 + /// + IntImage2DMultisampleArray = ((int)0x9061) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_1D = 0x9062 + /// + UnsignedIntImage1D = ((int)0x9062) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_2D = 0x9063 + /// + UnsignedIntImage2D = ((int)0x9063) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_3D = 0x9064 + /// + UnsignedIntImage3D = ((int)0x9064) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_2D_RECT = 0x9065 + /// + UnsignedIntImage2DRect = ((int)0x9065) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_CUBE = 0x9066 + /// + UnsignedIntImageCube = ((int)0x9066) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_BUFFER = 0x9067 + /// + UnsignedIntImageBuffer = ((int)0x9067) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_1D_ARRAY = 0x9068 + /// + UnsignedIntImage1DArray = ((int)0x9068) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_2D_ARRAY = 0x9069 + /// + UnsignedIntImage2DArray = ((int)0x9069) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY = 0x906A + /// + UnsignedIntImageCubeMapArray = ((int)0x906A) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE = 0x906B + /// + UnsignedIntImage2DMultisample = ((int)0x906B) , + /// + /// Original was GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY = 0x906C + /// + UnsignedIntImage2DMultisampleArray = ((int)0x906C) , + /// /// Original was GL_SAMPLER_2D_MULTISAMPLE = 0x9108 /// Sampler2DMultisample = ((int)0x9108) , @@ -601,6 +701,10 @@ namespace OpenTK.Graphics.OpenGL /// Original was GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910D /// UnsignedIntSampler2DMultisampleArray = ((int)0x910D) , + /// + /// Original was GL_UNSIGNED_INT_ATOMIC_COUNTER = 0x92DB + /// + UnsignedIntAtomicCounter = ((int)0x92DB) , } /// @@ -23861,7 +23965,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.GetProgramInterface, GL.GetProgramResourceIndex, GL.GetProgramResource, GL.GetProgramResourceLocation, GL.GetProgramResourceLocationIndex, GL.GetProgramResourceName + /// Not used directly. /// public enum ArbProgramInterfaceQuery : int { @@ -24224,7 +24328,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.GetActiveAtomicCounterBuffer + /// Not used directly. /// public enum ArbShaderAtomicCounters : int { @@ -27240,7 +27344,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.Arb.GetProgram, GL.Arb.GetProgramString, GL.Arb.ProgramParameter, GL.ProgramParameter, GL.Ext.ProgramParameter, GL.NV.GetProgramParameter, GL.NV.GetTrackMatrix + /// Used in GL.Arb.GetProgram, GL.Arb.GetProgramString, GL.Arb.ProgramParameter, GL.Ext.ProgramParameter, GL.NV.GetProgramParameter, GL.NV.GetTrackMatrix /// public enum AssemblyProgramParameterArb : int { @@ -28304,6 +28408,53 @@ namespace OpenTK.Graphics.OpenGL VertexSourceAti = ((int)0x8774) , } + /// + /// Used in GL.GetActiveAtomicCounterBuffer + /// + public enum AtomicCounterBufferParameter : int + { + /// + /// Original was GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER = 0x90ED + /// + AtomicCounterBufferReferencedByComputeShader = ((int)0x90ED) , + /// + /// Original was GL_ATOMIC_COUNTER_BUFFER_BINDING = 0x92C1 + /// + AtomicCounterBufferBinding = ((int)0x92C1) , + /// + /// Original was GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE = 0x92C4 + /// + AtomicCounterBufferDataSize = ((int)0x92C4) , + /// + /// Original was GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS = 0x92C5 + /// + AtomicCounterBufferActiveAtomicCounters = ((int)0x92C5) , + /// + /// Original was GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES = 0x92C6 + /// + AtomicCounterBufferActiveAtomicCounterIndices = ((int)0x92C6) , + /// + /// Original was GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER = 0x92C7 + /// + AtomicCounterBufferReferencedByVertexShader = ((int)0x92C7) , + /// + /// Original was GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER = 0x92C8 + /// + AtomicCounterBufferReferencedByTessControlShader = ((int)0x92C8) , + /// + /// Original was GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER = 0x92C9 + /// + AtomicCounterBufferReferencedByTessEvaluationShader = ((int)0x92C9) , + /// + /// Original was GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER = 0x92CA + /// + AtomicCounterBufferReferencedByGeometryShader = ((int)0x92CA) , + /// + /// Original was GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER = 0x92CB + /// + AtomicCounterBufferReferencedByFragmentShader = ((int)0x92CB) , + } + /// /// Used in GL.PushAttrib /// @@ -40674,6 +40825,69 @@ namespace OpenTK.Graphics.OpenGL Matrix31 = ((int)0x88DF) , } + /// + /// Used in GL.MemoryBarrier + /// + public enum MemoryBarrierFlags : int + { + /// + /// Original was GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT = 0x00000001 + /// + VertexAttribArrayBarrierBit = ((int)0x00000001) , + /// + /// Original was GL_ELEMENT_ARRAY_BARRIER_BIT = 0x00000002 + /// + ElementArrayBarrierBit = ((int)0x00000002) , + /// + /// Original was GL_UNIFORM_BARRIER_BIT = 0x00000004 + /// + UniformBarrierBit = ((int)0x00000004) , + /// + /// Original was GL_TEXTURE_FETCH_BARRIER_BIT = 0x00000008 + /// + TextureFetchBarrierBit = ((int)0x00000008) , + /// + /// Original was GL_SHADER_IMAGE_ACCESS_BARRIER_BIT = 0x00000020 + /// + ShaderImageAccessBarrierBit = ((int)0x00000020) , + /// + /// Original was GL_COMMAND_BARRIER_BIT = 0x00000040 + /// + CommandBarrierBit = ((int)0x00000040) , + /// + /// Original was GL_PIXEL_BUFFER_BARRIER_BIT = 0x00000080 + /// + PixelBufferBarrierBit = ((int)0x00000080) , + /// + /// Original was GL_TEXTURE_UPDATE_BARRIER_BIT = 0x00000100 + /// + TextureUpdateBarrierBit = ((int)0x00000100) , + /// + /// Original was GL_BUFFER_UPDATE_BARRIER_BIT = 0x00000200 + /// + BufferUpdateBarrierBit = ((int)0x00000200) , + /// + /// Original was GL_FRAMEBUFFER_BARRIER_BIT = 0x00000400 + /// + FramebufferBarrierBit = ((int)0x00000400) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_BARRIER_BIT = 0x00000800 + /// + TransformFeedbackBarrierBit = ((int)0x00000800) , + /// + /// Original was GL_ATOMIC_COUNTER_BARRIER_BIT = 0x00001000 + /// + AtomicCounterBarrierBit = ((int)0x00001000) , + /// + /// Original was GL_SHADER_STORAGE_BARRIER_BIT = 0x00002000 + /// + ShaderStorageBarrierBit = ((int)0x00002000) , + /// + /// Original was GL_ALL_BARRIER_BITS = 0xFFFFFFFF + /// + AllBarrierBits = unchecked((int)0xFFFFFFFF) , + } + /// /// Not used directly. /// @@ -47714,6 +47928,120 @@ namespace OpenTK.Graphics.OpenGL Polygon = ((int)0x0009) , } + /// + /// Used in GL.GetProgramInterface, GL.GetProgramResourceIndex, GL.GetProgramResource, GL.GetProgramResourceLocation, GL.GetProgramResourceLocationIndex, GL.GetProgramResourceName + /// + public enum ProgramInterface : int + { + /// + /// Original was GL_TRANSFORM_FEEDBACK_BUFFER = 0x8C8E + /// + TransformFeedbackBuffer = ((int)0x8C8E) , + /// + /// Original was GL_ATOMIC_COUNTER_BUFFER = 0x92C0 + /// + AtomicCounterBuffer = ((int)0x92C0) , + /// + /// Original was GL_UNIFORM = 0x92E1 + /// + Uniform = ((int)0x92E1) , + /// + /// Original was GL_UNIFORM_BLOCK = 0x92E2 + /// + UniformBlock = ((int)0x92E2) , + /// + /// Original was GL_PROGRAM_INPUT = 0x92E3 + /// + ProgramInput = ((int)0x92E3) , + /// + /// Original was GL_PROGRAM_OUTPUT = 0x92E4 + /// + ProgramOutput = ((int)0x92E4) , + /// + /// Original was GL_BUFFER_VARIABLE = 0x92E5 + /// + BufferVariable = ((int)0x92E5) , + /// + /// Original was GL_SHADER_STORAGE_BLOCK = 0x92E6 + /// + ShaderStorageBlock = ((int)0x92E6) , + /// + /// Original was GL_VERTEX_SUBROUTINE = 0x92E8 + /// + VertexSubroutine = ((int)0x92E8) , + /// + /// Original was GL_TESS_CONTROL_SUBROUTINE = 0x92E9 + /// + TessControlSubroutine = ((int)0x92E9) , + /// + /// Original was GL_TESS_EVALUATION_SUBROUTINE = 0x92EA + /// + TessEvaluationSubroutine = ((int)0x92EA) , + /// + /// Original was GL_GEOMETRY_SUBROUTINE = 0x92EB + /// + GeometrySubroutine = ((int)0x92EB) , + /// + /// Original was GL_FRAGMENT_SUBROUTINE = 0x92EC + /// + FragmentSubroutine = ((int)0x92EC) , + /// + /// Original was GL_COMPUTE_SUBROUTINE = 0x92ED + /// + ComputeSubroutine = ((int)0x92ED) , + /// + /// Original was GL_VERTEX_SUBROUTINE_UNIFORM = 0x92EE + /// + VertexSubroutineUniform = ((int)0x92EE) , + /// + /// Original was GL_TESS_CONTROL_SUBROUTINE_UNIFORM = 0x92EF + /// + TessControlSubroutineUniform = ((int)0x92EF) , + /// + /// Original was GL_TESS_EVALUATION_SUBROUTINE_UNIFORM = 0x92F0 + /// + TessEvaluationSubroutineUniform = ((int)0x92F0) , + /// + /// Original was GL_GEOMETRY_SUBROUTINE_UNIFORM = 0x92F1 + /// + GeometrySubroutineUniform = ((int)0x92F1) , + /// + /// Original was GL_FRAGMENT_SUBROUTINE_UNIFORM = 0x92F2 + /// + FragmentSubroutineUniform = ((int)0x92F2) , + /// + /// Original was GL_COMPUTE_SUBROUTINE_UNIFORM = 0x92F3 + /// + ComputeSubroutineUniform = ((int)0x92F3) , + /// + /// Original was GL_TRANSFORM_FEEDBACK_VARYING = 0x92F4 + /// + TransformFeedbackVarying = ((int)0x92F4) , + } + + /// + /// Used in GL.GetProgramInterface + /// + public enum ProgramInterfaceParameter : int + { + /// + /// Original was GL_ACTIVE_RESOURCES = 0x92F5 + /// + ActiveResources = ((int)0x92F5) , + /// + /// Original was GL_MAX_NAME_LENGTH = 0x92F6 + /// + MaxNameLength = ((int)0x92F6) , + /// + /// Original was GL_MAX_NUM_ACTIVE_VARIABLES = 0x92F7 + /// + MaxNumActiveVariables = ((int)0x92F7) , + /// + /// Original was GL_MAX_NUM_COMPATIBLE_SUBROUTINES = 0x92F8 + /// + MaxNumCompatibleSubroutines = ((int)0x92F8) , + } + /// /// Used in GL.GetProgram /// @@ -47728,14 +48056,22 @@ namespace OpenTK.Graphics.OpenGL /// ProgramSeparable = ((int)0x8258) , /// - /// Original was GL_PROGRAM_BINARY_LENGTH = 0x8741 - /// - ProgramBinaryLength = ((int)0x8741) , - /// /// Original was GL_GEOMETRY_SHADER_INVOCATIONS = 0x887F /// GeometryShaderInvocations = ((int)0x887F) , /// + /// Original was GL_GEOMETRY_VERTICES_OUT = 0x8916 + /// + GeometryVerticesOut = ((int)0x8916) , + /// + /// Original was GL_GEOMETRY_INPUT_TYPE = 0x8917 + /// + GeometryInputType = ((int)0x8917) , + /// + /// Original was GL_GEOMETRY_OUTPUT_TYPE = 0x8918 + /// + GeometryOutputType = ((int)0x8918) , + /// /// Original was GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH = 0x8A35 /// ActiveUniformBlockMaxNameLength = ((int)0x8A35) , @@ -47792,18 +48128,6 @@ namespace OpenTK.Graphics.OpenGL /// TransformFeedbackVaryings = ((int)0x8C83) , /// - /// Original was GL_GEOMETRY_VERTICES_OUT = 0x8DDA - /// - GeometryVerticesOut = ((int)0x8DDA) , - /// - /// Original was GL_GEOMETRY_INPUT_TYPE = 0x8DDB - /// - GeometryInputType = ((int)0x8DDB) , - /// - /// Original was GL_GEOMETRY_OUTPUT_TYPE = 0x8DDC - /// - GeometryOutputType = ((int)0x8DDC) , - /// /// Original was GL_TESS_CONTROL_OUTPUT_VERTICES = 0x8E75 /// TessControlOutputVertices = ((int)0x8E75) , @@ -47823,6 +48147,29 @@ namespace OpenTK.Graphics.OpenGL /// Original was GL_TESS_GEN_POINT_MODE = 0x8E79 /// TessGenPointMode = ((int)0x8E79) , + /// + /// Original was GL_MAX_COMPUTE_WORK_GROUP_SIZE = 0x91BF + /// + MaxComputeWorkGroupSize = ((int)0x91BF) , + /// + /// Original was GL_ACTIVE_ATOMIC_COUNTER_BUFFERS = 0x92D9 + /// + ActiveAtomicCounterBuffers = ((int)0x92D9) , + } + + /// + /// Used in GL.ProgramParameter + /// + public enum ProgramParameterPName : int + { + /// + /// Original was GL_PROGRAM_BINARY_RETRIEVABLE_HINT = 0x8257 + /// + ProgramBinaryRetrievableHint = ((int)0x8257) , + /// + /// Original was GL_PROGRAM_SEPARABLE = 0x8258 + /// + ProgramSeparable = ((int)0x8258) , } /// @@ -47834,6 +48181,145 @@ namespace OpenTK.Graphics.OpenGL /// Original was GL_ACTIVE_PROGRAM = 0x8259 /// ActiveProgram = ((int)0x8259) , + /// + /// Original was GL_FRAGMENT_SHADER = 0x8B30 + /// + FragmentShader = ((int)0x8B30) , + /// + /// Original was GL_VERTEX_SHADER = 0x8B31 + /// + VertexShader = ((int)0x8B31) , + /// + /// Original was GL_VALIDATE_STATUS = 0x8B83 + /// + ValidateStatus = ((int)0x8B83) , + /// + /// Original was GL_INFO_LOG_LENGTH = 0x8B84 + /// + InfoLogLength = ((int)0x8B84) , + /// + /// Original was GL_GEOMETRY_SHADER = 0x8DD9 + /// + GeometryShader = ((int)0x8DD9) , + /// + /// Original was GL_TESS_EVALUATION_SHADER = 0x8E87 + /// + TessEvaluationShader = ((int)0x8E87) , + /// + /// Original was GL_TESS_CONTROL_SHADER = 0x8E88 + /// + TessControlShader = ((int)0x8E88) , + /// + /// Original was GL_COMPUTE_SHADER = 0x91B9 + /// + ComputeShader = ((int)0x91B9) , + } + + /// + /// Used in GL.GetProgramResource, GL.Ext.GetNamedProgram + /// + public enum ProgramProperty : int + { + /// + /// Original was GL_NUM_COMPATIBLE_SUBROUTINES = 0x8E4A + /// + NumCompatibleSubroutines = ((int)0x8E4A) , + /// + /// Original was GL_COMPATIBLE_SUBROUTINES = 0x8E4B + /// + CompatibleSubroutines = ((int)0x8E4B) , + /// + /// Original was GL_IS_PER_PATCH = 0x92E7 + /// + IsPerPatch = ((int)0x92E7) , + /// + /// Original was GL_NAME_LENGTH = 0x92F9 + /// + NameLength = ((int)0x92F9) , + /// + /// Original was GL_TYPE = 0x92FA + /// + Type = ((int)0x92FA) , + /// + /// Original was GL_ARRAY_SIZE = 0x92FB + /// + ArraySize = ((int)0x92FB) , + /// + /// Original was GL_OFFSET = 0x92FC + /// + Offset = ((int)0x92FC) , + /// + /// Original was GL_BLOCK_INDEX = 0x92FD + /// + BlockIndex = ((int)0x92FD) , + /// + /// Original was GL_ARRAY_STRIDE = 0x92FE + /// + ArrayStride = ((int)0x92FE) , + /// + /// Original was GL_MATRIX_STRIDE = 0x92FF + /// + MatrixStride = ((int)0x92FF) , + /// + /// Original was GL_IS_ROW_MAJOR = 0x9300 + /// + IsRowMajor = ((int)0x9300) , + /// + /// Original was GL_ATOMIC_COUNTER_BUFFER_INDEX = 0x9301 + /// + AtomicCounterBufferIndex = ((int)0x9301) , + /// + /// Original was GL_BUFFER_BINDING = 0x9302 + /// + BufferBinding = ((int)0x9302) , + /// + /// Original was GL_BUFFER_DATA_SIZE = 0x9303 + /// + BufferDataSize = ((int)0x9303) , + /// + /// Original was GL_NUM_ACTIVE_VARIABLES = 0x9304 + /// + NumActiveVariables = ((int)0x9304) , + /// + /// Original was GL_ACTIVE_VARIABLES = 0x9305 + /// + ActiveVariables = ((int)0x9305) , + /// + /// Original was GL_REFERENCED_BY_VERTEX_SHADER = 0x9306 + /// + ReferencedByVertexShader = ((int)0x9306) , + /// + /// Original was GL_REFERENCED_BY_TESS_CONTROL_SHADER = 0x9307 + /// + ReferencedByTessControlShader = ((int)0x9307) , + /// + /// Original was GL_REFERENCED_BY_TESS_EVALUATION_SHADER = 0x9308 + /// + ReferencedByTessEvaluationShader = ((int)0x9308) , + /// + /// Original was GL_REFERENCED_BY_GEOMETRY_SHADER = 0x9309 + /// + ReferencedByGeometryShader = ((int)0x9309) , + /// + /// Original was GL_REFERENCED_BY_FRAGMENT_SHADER = 0x930A + /// + ReferencedByFragmentShader = ((int)0x930A) , + /// + /// Original was GL_TOP_LEVEL_ARRAY_SIZE = 0x930C + /// + TopLevelArraySize = ((int)0x930C) , + /// + /// Original was GL_TOP_LEVEL_ARRAY_STRIDE = 0x930D + /// + TopLevelArrayStride = ((int)0x930D) , + /// + /// Original was GL_LOCATION = 0x930E + /// + Location = ((int)0x930E) , + /// + /// Original was GL_LOCATION_INDEX = 0x930F + /// + LocationIndex = ((int)0x930F) , } /// @@ -47863,6 +48349,10 @@ namespace OpenTK.Graphics.OpenGL /// TessEvaluationShaderBit = ((int)0x00000010) , /// + /// Original was GL_COMPUTE_SHADER_BIT = 0x00000020 + /// + ComputeShaderBit = ((int)0x00000020) , + /// /// Original was GL_ALL_SHADER_BITS = 0xFFFFFFFF /// AllShaderBits = unchecked((int)0xFFFFFFFF) , @@ -50309,6 +50799,10 @@ namespace OpenTK.Graphics.OpenGL /// Original was GL_TESS_CONTROL_SHADER = 0x8E88 /// TessControlShader = ((int)0x8E88) , + /// + /// Original was GL_COMPUTE_SHADER = 0x91B9 + /// + ComputeShader = ((int)0x91B9) , } ///